#include <linux/module.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/regmap.h>
#include "adt7x10.h"
static bool adt7410_regmap_is_volatile(struct device *dev, unsigned int reg)
{ … }
static int adt7410_reg_read(void *context, unsigned int reg, unsigned int *val)
{ … }
static int adt7410_reg_write(void *context, unsigned int reg, unsigned int val)
{ … }
static const struct regmap_config adt7410_regmap_config = …;
static int adt7410_i2c_probe(struct i2c_client *client)
{ … }
static const struct i2c_device_id adt7410_ids[] = …;
MODULE_DEVICE_TABLE(i2c, adt7410_ids);
static struct i2c_driver adt7410_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;