hwmon: (pmbus_core) Fix maximum number of POUT alarm attributes
authorGuenter Roeck <linux@roeck-us.net>
Sun, 4 Mar 2012 16:10:57 +0000 (08:10 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Wed, 7 Mar 2012 17:48:42 +0000 (09:48 -0800)
commit7cb3c44fb1f7999e4c53b6a52de6bc25da6de079
tree6ce1a96e6f67d363b9f4f4c092daa5b409e01c16
parent4de86126a712ba83fa038d277c8282f7ed466a4b
hwmon: (pmbus_core) Fix maximum number of POUT alarm attributes

There are up to three POUT alarm attributes, not two, since cap_alarm was added.

Reported-by: Michele Petracca <mi.petracca@gmail.com>
Cc: stable@vger.kernel.org # 3.0+ [3.0 will need backport]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/pmbus_core.c