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

Jean Delvare
2011-11-18T09:35:18Z

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.

--
Jean Delvare