linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] thermal: qcom: tsens-8960: fix semicolon.cocci warnings
@ 2016-04-06  6:14 Julia Lawall
  2016-04-20 23:00 ` Eduardo Valentin
  0 siblings, 1 reply; 3+ messages in thread
From: Julia Lawall @ 2016-04-06  6:14 UTC (permalink / raw)
  To: Rajendra Nayak
  Cc: kbuild-all, Zhang Rui, Eduardo Valentin, linux-pm, linux-kernel

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;

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-21  5:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-06  6:14 [PATCH] thermal: qcom: tsens-8960: fix semicolon.cocci warnings Julia Lawall
2016-04-20 23:00 ` Eduardo Valentin
2016-04-21  5:12   ` Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).