#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/pmbus.h>
#include "pmbus.h"
#define UCD9200_PHASE_INFO …
#define UCD9200_DEVICE_ID …
enum chips { … };
static const struct i2c_device_id ucd9200_id[] = …;
MODULE_DEVICE_TABLE(i2c, ucd9200_id);
static const struct of_device_id __maybe_unused ucd9200_of_match[] = …;
MODULE_DEVICE_TABLE(of, ucd9200_of_match);
static int ucd9200_probe(struct i2c_client *client)
{ … }
static struct i2c_driver ucd9200_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_IMPORT_NS(…);