#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/regmap.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/mfd/core.h>
#include <linux/mfd/tps6105x.h>
static const unsigned int tps6105x_voltages[] = …;
static const struct regulator_ops tps6105x_regulator_ops = …;
static const struct regulator_desc tps6105x_regulator_desc = …;
static int tps6105x_regulator_probe(struct platform_device *pdev)
{ … }
static struct platform_driver tps6105x_regulator_driver = …;
static __init int tps6105x_regulator_init(void)
{ … }
subsys_initcall(tps6105x_regulator_init);
static __exit void tps6105x_regulator_exit(void)
{ … }
module_exit(tps6105x_regulator_exit);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;