#include <linux/bug.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/regulator/driver.h>
#include <linux/mfd/wm8400-private.h>
static const struct linear_range wm8400_ldo_ranges[] = …;
static const struct regulator_ops wm8400_ldo_ops = …;
static unsigned int wm8400_dcdc_get_mode(struct regulator_dev *dev)
{ … }
static int wm8400_dcdc_set_mode(struct regulator_dev *dev, unsigned int mode)
{ … }
static unsigned int wm8400_dcdc_get_optimum_mode(struct regulator_dev *dev,
int input_uV, int output_uV,
int load_uA)
{ … }
static const struct regulator_ops wm8400_dcdc_ops = …;
static struct regulator_desc regulators[] = …;
static int wm8400_regulator_probe(struct platform_device *pdev)
{ … }
static struct platform_driver wm8400_regulator_driver = …;
int wm8400_register_regulator(struct device *dev, int reg,
struct regulator_init_data *initdata)
{ … }
EXPORT_SYMBOL_GPL(…);
static int __init wm8400_regulator_init(void)
{ … }
subsys_initcall(wm8400_regulator_init);
static void __exit wm8400_regulator_exit(void)
{ … }
module_exit(wm8400_regulator_exit);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;