#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pmbus.h>
#include "pmbus.h"
#define LTC4286_MFR_CONFIG1 …
#define VRANGE_SELECT_BIT …
#define LTC4286_MFR_ID_SIZE …
static struct pmbus_driver_info ltc4286_info = …;
static const struct i2c_device_id ltc4286_id[] = …;
MODULE_DEVICE_TABLE(i2c, ltc4286_id);
static int ltc4286_probe(struct i2c_client *client)
{ … }
static const struct of_device_id ltc4286_of_match[] = …;
static struct i2c_driver ltc4286_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;