lkml.org 
[lkml]   [2016]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] thermal: qcom: tsens-8960: fix semicolon.cocci warnings
Remove unneeded semicolon.

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

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

tsens-8960.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/thermal/qcom/tsens-8960.c
+++ b/drivers/thermal/qcom/tsens-8960.c
@@ -247,7 +247,7 @@ static inline int code_to_mdegC(u32 adc_
u32 slope;
int offset;

- slope = thermal_zone_get_slope(s->tzd);;
+ slope = thermal_zone_get_slope(s->tzd);
offset = CAL_MDEGC - slope * s->offset;

return adc_code * slope + offset;
\
 
 \ /
  Last update: 2016-04-06 08:21    [W:0.041 / U:0.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site