#include <linux/err.h>
#include <linux/gpio.h>
#include <linux/i2c.h>
#include <linux/mfd/core.h>
#include <linux/mfd/lp3943.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/slab.h>
#define LP3943_MAX_REGISTERS …
static const struct lp3943_reg_cfg lp3943_mux_cfg[] = …;
static const struct mfd_cell lp3943_devs[] = …;
int lp3943_read_byte(struct lp3943 *lp3943, u8 reg, u8 *read)
{ … }
EXPORT_SYMBOL_GPL(…);
int lp3943_write_byte(struct lp3943 *lp3943, u8 reg, u8 data)
{ … }
EXPORT_SYMBOL_GPL(…);
int lp3943_update_bits(struct lp3943 *lp3943, u8 reg, u8 mask, u8 data)
{ … }
EXPORT_SYMBOL_GPL(…);
static const struct regmap_config lp3943_regmap_config = …;
static int lp3943_probe(struct i2c_client *cl)
{ … }
static const struct i2c_device_id lp3943_ids[] = …;
MODULE_DEVICE_TABLE(i2c, lp3943_ids);
#ifdef CONFIG_OF
static const struct of_device_id lp3943_of_match[] = …;
MODULE_DEVICE_TABLE(of, lp3943_of_match);
#endif
static struct i2c_driver lp3943_driver = …;
module_i2c_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;