Browse Source

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>
Luis de Bethencourt 7 years ago
parent
commit
ccffe77670
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/hwmon/lm75.c

+ 1 - 1
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;
 		}