#include <linux/module.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/of_regulator.h>
static const struct regulator_ops rzg2l_usb_vbus_reg_ops = …;
static const struct regulator_desc rzg2l_usb_vbus_rdesc = …;
static int rzg2l_usb_vbus_regulator_probe(struct platform_device *pdev)
{ … }
static struct platform_driver rzg2l_usb_vbus_regulator_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;