diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-05-09 19:40:01 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-05-12 07:55:07 +0200 |
commit | 169c05cd54473ba4cc37bf4d22e7631395d14f68 (patch) | |
tree | 573e7ede23e153a6fabe25f4e98b325371296435 /drivers/hwmon/iio_hwmon.c | |
parent | hwmon: (iio_hwmon) Fix missing iio_channel_release_all call if devm_kzalloc fail (diff) | |
download | linux-169c05cd54473ba4cc37bf4d22e7631395d14f68.tar.xz linux-169c05cd54473ba4cc37bf4d22e7631395d14f68.zip |
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>
Diffstat (limited to 'drivers/hwmon/iio_hwmon.c')
0 files changed, 0 insertions, 0 deletions