hwmon: (ltc2978) Introduce feature flags
authorGuenter Roeck <linux@roeck-us.net>
Sun, 16 Aug 2015 00:02:09 +0000 (17:02 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 17 Aug 2015 18:55:55 +0000 (11:55 -0700)
commit8582bcc8ebb21375b37f337c58ca783b997a0355
treedaf94b261cbb8b9658b4dcedde594a5a6de920f4
parent2238835c5ce9f8eae5cb4dd6a6c05a6c82743282
hwmon: (ltc2978) Introduce feature flags

It is becoming cumbersom to track per-chip feature support.
Introduce feature flag to simplify the code.

Tested-by: Michael Jones <mike@proclivis.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/ltc2978.c