#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/mfd/pcf50633/core.h>
#include <linux/mfd/pcf50633/pmic.h>
#define PCF50633_REGULATOR(_name, _id, _min_uV, _uV_step, _min_sel, _n) …
static const struct regulator_ops pcf50633_regulator_ops = …;
static const struct regulator_desc regulators[] = …;
static int pcf50633_regulator_probe(struct platform_device *pdev)
{ … }
static struct platform_driver pcf50633_regulator_driver = …;
static int __init pcf50633_regulator_init(void)
{ … }
subsys_initcall(pcf50633_regulator_init);
static void __exit pcf50633_regulator_exit(void)
{ … }
module_exit(pcf50633_regulator_exit);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;