OSDN Git Service

hwmon: (adm1275) Introduce new feature flags
authorGuenter Roeck <linux@roeck-us.net>
Sat, 4 Jul 2015 17:09:54 +0000 (10:09 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 9 Aug 2015 20:44:26 +0000 (13:44 -0700)
commit9048539b7cd6ca99e03e6d9745779473349426f7
treeaf3563f195f3f575e23151cbfc9327b6db3b237d
parent904b296f308dc70d5560a2b4311bbe255de12fd7
hwmon: (adm1275) Introduce new feature flags

Introduce have_vout, have_vaux_status, have_pin_max, and have_uc_fault
to simplify adding support for new chips.

Also simplify error returns where appropriate to return immediately
on error.

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