#include <linux/bitops.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/of_device.h>
#include "pmbus.h"
#define XDP710_REG_CFG …
#define XDP710_V_SNS_CFG …
#define XDP710_CS_RNG …
static const int micro_ohm_rsense[] = …;
static struct pmbus_driver_info xdp710_info = …;
static int xdp710_probe(struct i2c_client *client)
{ … }
static const struct of_device_id xdp710_of_match[] = …;
static const struct i2c_device_id xdp710_id[] = …;
MODULE_DEVICE_TABLE(i2c, xdp710_id);
static struct i2c_driver xdp710_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_IMPORT_NS(…);