mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 32/32] Drivers: hwmon: adm1031: fixed a brace coding style issue
@ 2011-11-18  6:11 Zac Storer
  2011-11-18  7:30 ` Jean Delvare
  0 siblings, 1 reply; 2+ messages in thread
From: Zac Storer @ 2011-11-18  6:11 UTC (permalink / raw)
  To: khali; +Cc: lm-sensors, linux-kernel, Zac Storer

Fixed a brace coding style issue.

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..04e2adc 100644
--- a/drivers/hwmon/adm1031.c
+++ b/drivers/hwmon/adm1031.c
@@ -299,7 +299,7 @@ set_fan_auto_channel(struct device *dev, struct device_attribute *attr,
 	data->conf1 = FAN_CHAN_TO_REG(reg, data->conf1);
 	if ((data->conf1 & ADM1031_CONF1_AUTO_MODE) ^
 	    (old_fan_mode & ADM1031_CONF1_AUTO_MODE)) {
-		if (data->conf1 & ADM1031_CONF1_AUTO_MODE){
+		if (data->conf1 & ADM1031_CONF1_AUTO_MODE) {
 			/* Switch to Auto Fan Mode
 			 * Save PWM registers
 			 * Set PWM registers to 33% Both */
-- 
1.7.7.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-18  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-18  6:11 [PATCH 32/32] Drivers: hwmon: adm1031: fixed a brace coding style issue Zac Storer
2011-11-18  7:30 ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®