* [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
* Re: [PATCH] thermal: qcom: tsens-8960: fix semicolon.cocci warnings
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
0 siblings, 1 reply; 3+ messages in thread
From: Eduardo Valentin @ 2016-04-20 23:00 UTC (permalink / raw)
To: Julia Lawall
Cc: Rajendra Nayak, kbuild-all, Zhang Rui, linux-pm, linux-kernel
On Wed, Apr 06, 2016 at 08:14:34AM +0200, Julia Lawall wrote:
> 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
To which tree this patch applies to?
> @@ -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
* Re: [PATCH] thermal: qcom: tsens-8960: fix semicolon.cocci warnings
2016-04-20 23:00 ` Eduardo Valentin
@ 2016-04-21 5:12 ` Julia Lawall
0 siblings, 0 replies; 3+ messages in thread
From: Julia Lawall @ 2016-04-21 5:12 UTC (permalink / raw)
To: Eduardo Valentin
Cc: Rajendra Nayak, kbuild-all, Zhang Rui, linux-pm, linux-kernel
On Wed, 20 Apr 2016, Eduardo Valentin wrote:
> On Wed, Apr 06, 2016 at 08:14:34AM +0200, Julia Lawall wrote:
> > 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
>
> To which tree this patch applies to?
Sorry, I should have preserved that information, but I don't have it any
more.
julia
> > @@ -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).