#include <linux/err.h>
#include <linux/hwmon.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/regulator/machine.h>
#include <linux/mfd/sy7636a.h>
static int sy7636a_read(struct device *dev, enum hwmon_sensor_types type,
u32 attr, int channel, long *temp)
{ … }
static umode_t sy7636a_is_visible(const void *data,
enum hwmon_sensor_types type,
u32 attr, int channel)
{ … }
static const struct hwmon_ops sy7636a_hwmon_ops = …;
static const struct hwmon_channel_info * const sy7636a_info[] = …;
static const struct hwmon_chip_info sy7636a_chip_info = …;
static int sy7636a_sensor_probe(struct platform_device *pdev)
{ … }
static struct platform_driver sy7636a_sensor_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;