#include <linux/err.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/mfd/syscon.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/of_regulator.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include <linux/of.h>
struct pbias_reg_info { … };
struct pbias_of_data { … };
static const unsigned int pbias_volt_table_3_0V[] = …;
static const unsigned int pbias_volt_table_3_3V[] = …;
static const struct regulator_ops pbias_regulator_voltage_ops = …;
static const struct pbias_reg_info pbias_mmc_omap2430 = …;
static const struct pbias_reg_info pbias_sim_omap3 = …;
static const struct pbias_reg_info pbias_mmc_omap4 = …;
static const struct pbias_reg_info pbias_mmc_omap5 = …;
static struct of_regulator_match pbias_matches[] = …;
#define PBIAS_NUM_REGS …
static const struct pbias_of_data pbias_of_data_omap2 = …;
static const struct pbias_of_data pbias_of_data_omap3 = …;
static const struct pbias_of_data pbias_of_data_omap4 = …;
static const struct pbias_of_data pbias_of_data_omap5 = …;
static const struct pbias_of_data pbias_of_data_dra7 = …;
static const struct of_device_id pbias_of_match[] = …;
MODULE_DEVICE_TABLE(of, pbias_of_match);
static int pbias_regulator_probe(struct platform_device *pdev)
{ … }
static struct platform_driver pbias_regulator_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;