hwmon: (pmbus) Simplify memory allocation for labels and booleans
authorGuenter Roeck <linux@roeck-us.net>
Sun, 20 Jan 2013 16:13:21 +0000 (08:13 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 6 Feb 2013 17:58:01 +0000 (09:58 -0800)
commit0328461ea954cab13956aedb97f9686bfdfdf2a5
treec9dd574505f76f5d44fdde2e3148f51a90febc33
parentc2a583519dacf89fb4231e062e9804355ae2326b
hwmon: (pmbus) Simplify memory allocation for labels and booleans

Since memory is now allocated with dev_ functions, we no longer need to keep
track of allocated memory. Memory allocation for booleans and labels can
therefore be simplified substantially by allocating it only as needed.

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