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

Guenter Roeck
2012-01-12T10:25:05Z

On Thu, Jan 12, 2012 at 03:01:49AM -0500, Jean Delvare wrote:
> 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@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?
>
Just sent you one, with Zac's patches merged into one and (almost) all other checkpatch issues
fixed as well.

Guenter