linux/drivers/pinctrl/pinctrl-mcp23s08_i2c.c

// SPDX-License-Identifier: GPL-2.0-only
/* MCP23S08 I2C GPIO driver */

#include <linux/i2c.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/regmap.h>

#include "pinctrl-mcp23s08.h"

static int mcp230xx_probe(struct i2c_client *client)
{}

static const struct mcp23s08_info mcp23008_i2c =;

static const struct mcp23s08_info mcp23017_i2c =;

static const struct mcp23s08_info  mcp23018_i2c =;

static const struct i2c_device_id mcp230xx_id[] =;
MODULE_DEVICE_TABLE(i2c, mcp230xx_id);

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

static struct i2c_driver mcp230xx_driver =;

static int __init mcp23s08_i2c_init(void)
{}

/*
 * Register after I²C postcore initcall and before
 * subsys initcalls that may rely on these GPIOs.
 */
subsys_initcall(mcp23s08_i2c_init);

static void mcp23s08_i2c_exit(void)
{}
module_exit(mcp23s08_i2c_exit);

MODULE_DESCRIPTION();
MODULE_LICENSE();