Re: [PATCH] Drivers: hwmon: adm1031: fixed spacing coding styleissues

From: Jean Delvare
Date: Fri Nov 18 2011 - 04:35:20 EST


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@xxxxxxxxx>
> ---
> 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.

--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/