diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-10-20 03:08:27 -0400 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-10-24 14:09:47 -0400 |
commit | 17296feb3c666d0fee3e659e9b5d668ff7a02549 (patch) | |
tree | fc64fe367cee2a17a1a3dfd8e4a20602b56577a2 /drivers/hwmon/w83627ehf.c | |
parent | 426343ef34fac426e619176c84cb2e263b9ed23d (diff) |
hwmon: (w83627ehf) Uninline is_word_sized
Helper function is_word_sized has grown too much to be kept inline. It
was OK when there were only 6 word-sized registers but support for new
devices have made the list much longer. The function is also called
from more places than before.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/w83627ehf.c')
-rw-r--r-- | drivers/hwmon/w83627ehf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c index f5fec1cd1d4e..a26830dfea7e 100644 --- a/drivers/hwmon/w83627ehf.c +++ b/drivers/hwmon/w83627ehf.c | |||
@@ -319,7 +319,7 @@ static const char *const nct6776_temp_label[] = { | |||
319 | 319 | ||
320 | #define NUM_REG_TEMP ARRAY_SIZE(NCT6775_REG_TEMP) | 320 | #define NUM_REG_TEMP ARRAY_SIZE(NCT6775_REG_TEMP) |
321 | 321 | ||
322 | static inline int is_word_sized(u16 reg) | 322 | static int is_word_sized(u16 reg) |
323 | { | 323 | { |
324 | return ((((reg & 0xff00) == 0x100 | 324 | return ((((reg & 0xff00) == 0x100 |
325 | || (reg & 0xff00) == 0x200) | 325 | || (reg & 0xff00) == 0x200) |