#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/mux/driver.h>
#include <linux/property.h>
#define ADG792A_LDSW …
#define ADG792A_RESETB …
#define ADG792A_DISABLE(mux) …
#define ADG792A_DISABLE_ALL …
#define ADG792A_MUX(mux, state) …
#define ADG792A_MUX_ALL(state) …
static int adg792a_write_cmd(struct i2c_client *i2c, u8 cmd, int reset)
{ … }
static int adg792a_set(struct mux_control *mux, int state)
{ … }
static const struct mux_control_ops adg792a_ops = …;
static int adg792a_probe(struct i2c_client *i2c)
{ … }
static const struct i2c_device_id adg792a_id[] = …;
MODULE_DEVICE_TABLE(i2c, adg792a_id);
static const struct of_device_id adg792a_of_match[] = …;
MODULE_DEVICE_TABLE(of, adg792a_of_match);
static struct i2c_driver adg792a_driver = …;
module_i2c_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;