#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/regulator/driver.h>
#include <linux/mfd/88pm886.h>
static const struct regmap_config pm886_regulator_regmap_config = …;
static const struct regulator_ops pm886_ldo_ops = …;
static const struct regulator_ops pm886_buck_ops = …;
static const unsigned int pm886_ldo_volt_table1[] = …;
static const unsigned int pm886_ldo_volt_table2[] = …;
static const unsigned int pm886_ldo_volt_table3[] = …;
static const struct linear_range pm886_buck_volt_ranges1[] = …;
static const struct linear_range pm886_buck_volt_ranges2[] = …;
static struct regulator_desc pm886_regulators[] = …;
static int pm886_regulator_probe(struct platform_device *pdev)
{ … }
static const struct platform_device_id pm886_regulator_id_table[] = …;
MODULE_DEVICE_TABLE(platform, pm886_regulator_id_table);
static struct platform_driver pm886_regulator_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;