#include <linux/mfd/max77541.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/regulator/driver.h>
static const struct regulator_ops max77541_buck_ops = …;
static const struct linear_range max77540_buck_ranges[] = …;
static const struct linear_range max77541_buck_ranges[] = …;
static const unsigned int max77541_buck_volt_range_sel[] = …;
enum max77541_regulators { … };
#define MAX77540_BUCK(_id, _ops) …
#define MAX77541_BUCK(_id, _ops) …
static const struct regulator_desc max77540_regulators_desc[] = …;
static const struct regulator_desc max77541_regulators_desc[] = …;
static int max77541_regulator_probe(struct platform_device *pdev)
{ … }
static const struct platform_device_id max77541_regulator_platform_id[] = …;
MODULE_DEVICE_TABLE(platform, max77541_regulator_platform_id);
static struct platform_driver max77541_regulator_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;