#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include "pmbus.h"
#define LTC3815_MFR_IOUT_PEAK …
#define LTC3815_MFR_VOUT_PEAK …
#define LTC3815_MFR_VIN_PEAK …
#define LTC3815_MFR_TEMP_PEAK …
#define LTC3815_MFR_IIN_PEAK …
#define LTC3815_MFR_SPECIAL_ID …
#define LTC3815_ID …
#define LTC3815_ID_MASK …
static int ltc3815_read_byte_data(struct i2c_client *client, int page, int reg)
{ … }
static int ltc3815_write_byte(struct i2c_client *client, int page, u8 reg)
{ … }
static int ltc3815_read_word_data(struct i2c_client *client, int page,
int phase, int reg)
{ … }
static int ltc3815_write_word_data(struct i2c_client *client, int page,
int reg, u16 word)
{ … }
static const struct i2c_device_id ltc3815_id[] = …;
MODULE_DEVICE_TABLE(i2c, ltc3815_id);
static struct pmbus_driver_info ltc3815_info = …;
static int ltc3815_probe(struct i2c_client *client)
{ … }
static struct i2c_driver ltc3815_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_IMPORT_NS(…);