diff mbox

drivers: hwmon: fix semicolon.cocci warnings

Message ID alpine.DEB.2.20.1701100639310.2185@hadrien (mailing list archive)
State Not Applicable
Headers show

Commit Message

Julia Lawall Jan. 10, 2017, 5:41 a.m. UTC
Remove unneeded semicolon.

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

CC: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@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(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- 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;