summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm75.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@kernel.org>2018-01-17 19:24:48 +0100
committerGuenter Roeck <linux@roeck-us.net>2018-01-17 23:51:12 +0100
commitccffe776700343fbd127c8624d9962ebea1bfbb7 (patch)
treed257ea8559dcfb3305877ee50f8a5249eb10a3b9 /drivers/hwmon/lm75.c
parenthwmon: (ina2xx) Fix access to uninitialized mutex (diff)
downloadlinux-ccffe776700343fbd127c8624d9962ebea1bfbb7.tar.xz
linux-ccffe776700343fbd127c8624d9962ebea1bfbb7.zip
hwmon: (lm75) Fix trailing semicolon
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>
Diffstat (limited to 'drivers/hwmon/lm75.c')
-rw-r--r--drivers/hwmon/lm75.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c
index 005ffb5ffa92..49f4b33a5685 100644
--- 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;
}