#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/mfd/rt5033.h>
#include <linux/mfd/rt5033-private.h>
#include <linux/regulator/of_regulator.h>
static const struct linear_range rt5033_buck_ranges[] = …;
static const struct linear_range rt5033_ldo_ranges[] = …;
static const struct regulator_ops rt5033_safe_ldo_ops = …;
static const struct regulator_ops rt5033_buck_ops = …;
static const struct regulator_desc rt5033_supported_regulators[] = …;
static int rt5033_regulator_probe(struct platform_device *pdev)
{ … }
static const struct platform_device_id rt5033_regulator_id[] = …;
MODULE_DEVICE_TABLE(platform, rt5033_regulator_id);
static struct platform_driver rt5033_regulator_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;