From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julia Lawall Subject: Re: [PATCH] thermal: qcom: tsens-8960: fix semicolon.cocci warnings Date: Thu, 21 Apr 2016 07:12:45 +0200 (CEST) Message-ID: References: <20160420230030.GB5807@localhost.localdomain> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: <20160420230030.GB5807@localhost.localdomain> Sender: linux-kernel-owner@vger.kernel.org To: Eduardo Valentin Cc: Rajendra Nayak , kbuild-all@01.org, Zhang Rui , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-pm@vger.kernel.org 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 > > Signed-off-by: Julia Lawall > > --- > > > > 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; >