linux/drivers/hwmon/wm8350-hwmon.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * drivers/hwmon/wm8350-hwmon.c - Wolfson Microelectronics WM8350 PMIC
 *                                  hardware monitoring features.
 *
 * Copyright (C) 2009 Wolfson Microelectronics plc
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>

#include <linux/mfd/wm8350/core.h>
#include <linux/mfd/wm8350/comparator.h>

static const char * const input_names[] =;

static ssize_t show_voltage(struct device *dev,
			    struct device_attribute *attr, char *buf)
{}

static ssize_t show_label(struct device *dev,
			  struct device_attribute *attr, char *buf)
{}

#define WM8350_NAMED_VOLTAGE(id, name)

WM8350_NAMED_VOLTAGE();
WM8350_NAMED_VOLTAGE();
WM8350_NAMED_VOLTAGE();

static struct attribute *wm8350_attrs[] =;

ATTRIBUTE_GROUPS();

static int wm8350_hwmon_probe(struct platform_device *pdev)
{}

static struct platform_driver wm8350_hwmon_driver =;

module_platform_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_ALIAS();