projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4c586
)
hwmon: (lm75) Fix trailing semicolon
author
Luis de Bethencourt
<luisbg@kernel.org>
Wed, 17 Jan 2018 18:24:48 +0000
(18:24 +0000)
committer
Guenter Roeck
<linux@roeck-us.net>
Wed, 17 Jan 2018 22:51:12 +0000
(14:51 -0800)
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 <luisbg@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm75.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/lm75.c
b/drivers/hwmon/lm75.c
index 005ffb5ffa92dacd91aed181b5b6bd6b1e26d225..49f4b33a5685a82530df3149609902fce0db76be 100644
(file)
--- a/
drivers/hwmon/lm75.c
+++ b/
drivers/hwmon/lm75.c
@@
-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;
}