#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 PM6764TR_PMBUS_READ_VOUT …
static int pm6764tr_read_word_data(struct i2c_client *client, int page, int phase, int reg)
{ … }
static struct pmbus_driver_info pm6764tr_info = …;
static int pm6764tr_probe(struct i2c_client *client)
{ … }
static const struct i2c_device_id pm6764tr_id[] = …;
MODULE_DEVICE_TABLE(i2c, pm6764tr_id);
static const struct of_device_id __maybe_unused pm6764tr_of_match[] = …;
static struct i2c_driver pm6764tr_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_IMPORT_NS(…);