[lm-sensors] [PATCH] Drivers: hwmon: adm1031: fixed spacing coding style issues

Jean Delvare khali at linux-fr.org
Thu Jan 12 09:01:49 CET 2012


On Fri, 18 Nov 2011 10:35:01 +0100, Jean Delvare wrote:
> On Fri, 18 Nov 2011 01:36:53 -0700, Zac Storer wrote:
> > Fixed spacing coding style issues.
> > 
> > Signed-off-by: Zac Storer <zac.3.14159 at gmail.com>
> > ---
> >  drivers/hwmon/adm1031.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/drivers/hwmon/adm1031.c b/drivers/hwmon/adm1031.c
> > index 0683e6b..694392b 100644
> > --- a/drivers/hwmon/adm1031.c
> > +++ b/drivers/hwmon/adm1031.c
> > @@ -1058,7 +1058,7 @@ static struct adm1031_data *adm1031_update_device(struct device *dev)
> >  			data->alarm &= 0xc0ff;
> >  		}
> >  
> > -		for (chan=0; chan<(data->chip_type == adm1030 ? 1 : 2); chan++) {
> > +		for (chan = 0; chan < (data->chip_type == adm1030 ? 1 : 2); chan++) {
> >  			data->fan_div[chan] =
> >  			    adm1031_read_value(client, ADM1031_REG_FAN_DIV(chan));
> >  			data->fan_min[chan] =
> 
> Err, you apparently did not understand my request. Please send _one_
> patch fixing all the adm1031 coding style issues at once.

Zac, do you have an updated patch for me?

-- 
Jean Delvare




More information about the lm-sensors mailing list