提交 05a5e477 编写于 作者: J Jean Delvare 提交者: Jean Delvare

hwmon: (f71882fg) Delete needless forward declarations

These functions aren't used before being defined, so there's no point
in forward-declaring them.
Signed-off-by: NJean Delvare <khali@linux-fr.org>
Acked-by: NHans de Goede <j.w.r.degoede@hhs.nl>
上级 549edb83
...@@ -87,8 +87,6 @@ static inline void superio_enter(int base); ...@@ -87,8 +87,6 @@ static inline void superio_enter(int base);
static inline void superio_select(int base, int ld); static inline void superio_select(int base, int ld);
static inline void superio_exit(int base); static inline void superio_exit(int base);
static inline u16 fan_from_reg ( u16 reg );
struct f71882fg_data { struct f71882fg_data {
unsigned short addr; unsigned short addr;
struct device *hwmon_dev; struct device *hwmon_dev;
...@@ -116,10 +114,6 @@ struct f71882fg_data { ...@@ -116,10 +114,6 @@ struct f71882fg_data {
u8 temp_diode_open; u8 temp_diode_open;
}; };
static u8 f71882fg_read8(struct f71882fg_data *data, u8 reg);
static u16 f71882fg_read16(struct f71882fg_data *data, u8 reg);
static void f71882fg_write8(struct f71882fg_data *data, u8 reg, u8 val);
/* Sysfs in*/ /* Sysfs in*/
static ssize_t show_in(struct device *dev, struct device_attribute *devattr, static ssize_t show_in(struct device *dev, struct device_attribute *devattr,
char *buf); char *buf);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册