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

Zac Storer zac.3.14159 at gmail.com
Fri Nov 18 09:36:53 CET 2011


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] =
-- 
1.7.7.3




More information about the lm-sensors mailing list