linux/drivers/gpio/gpio-arizona.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * gpiolib support for Wolfson Arizona class devices
 *
 * Copyright 2012 Wolfson Microelectronics PLC.
 *
 * Author: Mark Brown <[email protected]>
 */

#include <linux/gpio/driver.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/slab.h>

#include <linux/mfd/arizona/core.h>
#include <linux/mfd/arizona/pdata.h>
#include <linux/mfd/arizona/registers.h>

struct arizona_gpio {};

static int arizona_gpio_direction_in(struct gpio_chip *chip, unsigned offset)
{}

static int arizona_gpio_get(struct gpio_chip *chip, unsigned offset)
{}

static int arizona_gpio_direction_out(struct gpio_chip *chip,
				     unsigned offset, int value)
{}

static void arizona_gpio_set(struct gpio_chip *chip, unsigned offset, int value)
{}

static const struct gpio_chip template_chip =;

static int arizona_gpio_probe(struct platform_device *pdev)
{}

static struct platform_driver arizona_gpio_driver =;

module_platform_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_ALIAS();