[PATCH] drivers: hwmon: fix semicolon.cocci warnings

Julia Lawall julia.lawall at lip6.fr
Tue Jan 10 16:41:26 AEDT 2017


Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Jaghathiswari Rankappagounder Natarajan <jaghu at google.com>
Signed-off-by: Julia Lawall <julia.lawall at lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---

url:
https://github.com/0day-ci/linux/commits/Jaghathiswari-Rankappagounder-Natar
ajan/Support-for-ASPEED-AST2400-AST2500-PWM-and-Fan-Tach-driver/20170110-093
628
base:
https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
hwmon-next


 aspeed-pwm-tacho.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/hwmon/aspeed-pwm-tacho.c
+++ b/drivers/hwmon/aspeed-pwm-tacho.c
@@ -522,7 +522,7 @@ static u32 aspeed_get_fan_tach_ch_rpm(st
 		if (timeout > 1)
 			return 0;
 		msleep(sec);
-	};
+	}

 	raw_data = (ioread32(base + ASPEED_PTCR_RESULT)) &
 				RESULT_VALUE_MASK;


More information about the openbmc mailing list