hwmon: (nct6775) Do not create non-existing attributes
authorGuenter Roeck <linux@roeck-us.net>
Thu, 9 May 2013 17:40:01 +0000 (10:40 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 12 May 2013 05:55:07 +0000 (22:55 -0700)
commit169c05cd54473ba4cc37bf4d22e7631395d14f68
tree573e7ede23e153a6fabe25f4e98b325371296435
parent4510d198f994bf49f88aa05d55e7a3584cd430a8
hwmon: (nct6775) Do not create non-existing attributes

Overtemperature and hysteresis registers only exist for primary
temperature registers, not for alternates, so do not assign
those registers when initializing alternates.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c