#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regulator/driver.h>
#include "pmbus.h"
#if IS_ENABLED(CONFIG_SENSORS_IR38064_REGULATOR)
static const struct regulator_desc ir38064_reg_desc[] = …;
#endif
static struct pmbus_driver_info ir38064_info = …;
static int ir38064_probe(struct i2c_client *client)
{ … }
static const struct i2c_device_id ir38064_id[] = …;
MODULE_DEVICE_TABLE(i2c, ir38064_id);
static const struct of_device_id __maybe_unused ir38064_of_match[] = …;
MODULE_DEVICE_TABLE(of, ir38064_of_match);
static struct i2c_driver ir38064_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_IMPORT_NS(…);