linux/drivers/gpio/gpio-wcd934x.c

// SPDX-License-Identifier: GPL-2.0
// Copyright (c) 2019, Linaro Limited

#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/gpio/driver.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/slab.h>

#define WCD_PIN_MASK(p)
#define WCD_REG_DIR_CTL_OFFSET
#define WCD_REG_VAL_CTL_OFFSET
#define WCD934X_NPINS

struct wcd_gpio_data {};

static int wcd_gpio_get_direction(struct gpio_chip *chip, unsigned int pin)
{}

static int wcd_gpio_direction_input(struct gpio_chip *chip, unsigned int pin)
{}

static int wcd_gpio_direction_output(struct gpio_chip *chip, unsigned int pin,
				     int val)
{}

static int wcd_gpio_get(struct gpio_chip *chip, unsigned int pin)
{}

static void wcd_gpio_set(struct gpio_chip *chip, unsigned int pin, int val)
{}

static int wcd_gpio_probe(struct platform_device *pdev)
{}

static const struct of_device_id wcd_gpio_of_match[] =;
MODULE_DEVICE_TABLE(of, wcd_gpio_of_match);

static struct platform_driver wcd_gpio_driver =;

module_platform_driver();
MODULE_DESCRIPTION();
MODULE_LICENSE();