#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/mfd/88pm80x.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
#include <linux/err.h>
#define PM80X_CHIP_ID …
#define PM80X_CHIP_ID_NUM(x) …
#define PM80X_CHIP_ID_REVISION(x) …
struct pm80x_chip_mapping { … };
static struct pm80x_chip_mapping chip_mapping[] = …;
static struct pm80x_chip *g_pm80x_chip;
const struct regmap_config pm80x_regmap_config = …;
EXPORT_SYMBOL_GPL(…);
int pm80x_init(struct i2c_client *client)
{ … }
EXPORT_SYMBOL_GPL(…);
int pm80x_deinit(void)
{ … }
EXPORT_SYMBOL_GPL(…);
static int pm80x_suspend(struct device *dev)
{ … }
static int pm80x_resume(struct device *dev)
{ … }
EXPORT_GPL_SIMPLE_DEV_PM_OPS(…);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;