diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-01-10 08:54:40 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-04-08 00:16:38 -0400 |
commit | 24f9c539b9b7ef8fcc97741027a31f40ef399741 (patch) | |
tree | fb3139765071ebb015436f970ee9d19880c8f7c9 /drivers/hwmon/gpio-fan.c | |
parent | 692fe501da4b851cbb60edc672679ad1b41e1602 (diff) |
hwmon: Fix 'Macros with complex values' checkpatch errors
Fix:
ERROR: Macros with complex values should be enclosed in parenthesis
when it is seen due to complex code and not due to multi-line variable
declarations.
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Alistair John Strachan <alistair@devzero.co.uk>
Acked-by: Alistair John Strachan <alistair@devzero.co.uk>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/gpio-fan.c')
-rw-r--r-- | drivers/hwmon/gpio-fan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/gpio-fan.c b/drivers/hwmon/gpio-fan.c index 39781945a5d2..4e02480b456a 100644 --- a/drivers/hwmon/gpio-fan.c +++ b/drivers/hwmon/gpio-fan.c | |||
@@ -619,7 +619,7 @@ static int gpio_fan_resume(struct device *dev) | |||
619 | } | 619 | } |
620 | 620 | ||
621 | static SIMPLE_DEV_PM_OPS(gpio_fan_pm, gpio_fan_suspend, gpio_fan_resume); | 621 | static SIMPLE_DEV_PM_OPS(gpio_fan_pm, gpio_fan_suspend, gpio_fan_resume); |
622 | #define GPIO_FAN_PM &gpio_fan_pm | 622 | #define GPIO_FAN_PM (&gpio_fan_pm) |
623 | #else | 623 | #else |
624 | #define GPIO_FAN_PM NULL | 624 | #define GPIO_FAN_PM NULL |
625 | #endif | 625 | #endif |