linux/drivers/gpio/gpio-ts4800.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * GPIO driver for the TS-4800 board
 *
 * Copyright (c) 2016 - Savoir-faire Linux
 */

#include <linux/gpio/driver.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>

#define DEFAULT_PIN_NUMBER
#define INPUT_REG_OFFSET
#define OUTPUT_REG_OFFSET
#define DIRECTION_REG_OFFSET

static int ts4800_gpio_probe(struct platform_device *pdev)
{}

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

static struct platform_driver ts4800_gpio_driver =;

module_platform_driver_probe();

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