hwmon: (lm75) Fix trailing semicolon
PATCH 1/1 hwmon: (lm75) Fix trailing semicolon
The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything.
---
Hi,
After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0].
Best regards
Luis
[0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html
[1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html
drivers/hwmon/lm75.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/lm75.c +1 -1
@@ -100,7 +100,7 @@ static int lm75_read(struct device *dev, enum hwmon_sensor_types type,switch (attr) {case hwmon_chip_update_interval: *val = data->sample_time; -break ;; +break ;default :return -EINVAL ; }
Signature · 1 line
2.15.1
Quoted 4 lines · Luis de Bethencourt
The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything.
Signed-off-by Luis de Bethencourt <[email protected]>
Applied.
Thanks,
Guenter
Quoted 37 lines
---
Hi,
After fixing the same thing in
drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0].Best regards
Luis[0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html
[1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.htmldrivers/hwmon/lm75.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/hwmon/lm75.c +1
-1@@ -100,7 +100,7 @@ static int lm75_read(struct device *dev, enum hwmon_sensor_types type,switch (attr) {case hwmon_chip_update_interval: *val = data->sample_time; -break ;; +break ;default :return -EINVAL ; }Signature · 6 lines
2.15.1 -- To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html