From f85b520510ed8b805b21b98dcedaf896caa0dae7 Mon Sep 17 00:00:00 2001 From: Shane Huang Date: Fri, 6 Sep 2013 14:05:42 +0200 Subject: hwmon: (w83792d) Update module author w83792d was written by me in 2004, I'd like to update my first name into my current one to keep consistent, and delete invalid address. Signed-off-by: Shane Huang Signed-off-by: Jean Delvare diff --git a/Documentation/hwmon/w83791d b/Documentation/hwmon/w83791d index 90387c3..f4021a2 100644 --- a/Documentation/hwmon/w83791d +++ b/Documentation/hwmon/w83791d @@ -17,7 +17,7 @@ Credits: Philip Edelbrock , and Mark Studebaker w83792d.c: - Chunhao Huang , + Shane Huang (Winbond), Rudolf Marek Additional contributors: diff --git a/Documentation/hwmon/w83792d b/Documentation/hwmon/w83792d index 8a023ce..53f7b68 100644 --- a/Documentation/hwmon/w83792d +++ b/Documentation/hwmon/w83792d @@ -7,8 +7,7 @@ Supported chips: Addresses scanned: I2C 0x2c - 0x2f Datasheet: http://www.winbond.com.tw -Author: Chunhao Huang -Contact: DZShen +Author: Shane Huang (Winbond) Module Parameters diff --git a/drivers/hwmon/w83792d.c b/drivers/hwmon/w83792d.c index 0b80489..5febb43 100644 --- a/drivers/hwmon/w83792d.c +++ b/drivers/hwmon/w83792d.c @@ -2,7 +2,7 @@ * w83792d.c - Part of lm_sensors, Linux kernel modules for hardware * monitoring * Copyright (C) 2004, 2005 Winbond Electronics Corp. - * Chunhao Huang , + * Shane Huang, * Rudolf Marek * * This program is free software; you can redistribute it and/or modify @@ -1665,6 +1665,6 @@ static void w83792d_print_debug(struct w83792d_data *data, struct device *dev) module_i2c_driver(w83792d_driver); -MODULE_AUTHOR("Chunhao Huang @ Winbond "); +MODULE_AUTHOR("Shane Huang (Winbond)"); MODULE_DESCRIPTION("W83792AD/D driver for linux-2.6"); MODULE_LICENSE("GPL"); -- cgit v0.10.2 From 94e44413cdda7b1b838a4c508a4eca0cdd5e7a18 Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Fri, 6 Sep 2013 14:05:43 +0200 Subject: hwmon: (emc6w201) Do not declare enum variable Fix the following smatch warning: emc6w201.c:52:26: warning: symbol 'subfeature' was not declared. Should it be static? 'enum { } subtype' declares an enum as (global) variable which we don't want. Signed-off-by: Guenter Roeck Signed-off-by: Jean Delvare diff --git a/drivers/hwmon/emc6w201.c b/drivers/hwmon/emc6w201.c index 936898f..82e661e 100644 --- a/drivers/hwmon/emc6w201.c +++ b/drivers/hwmon/emc6w201.c @@ -49,7 +49,7 @@ static const unsigned short normal_i2c[] = { 0x2c, 0x2d, 0x2e, I2C_CLIENT_END }; #define EMC6W201_REG_TEMP_HIGH(nr) (0x57 + (nr) * 2) #define EMC6W201_REG_FAN_MIN(nr) (0x62 + (nr) * 2) -enum { input, min, max } subfeature; +enum subfeature { input, min, max }; /* * Per-device data -- cgit v0.10.2