commit | 0328461ea954cab13956aedb97f9686bfdfdf2a5 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sun Jan 20 08:13:21 2013 -0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Wed Feb 06 09:58:01 2013 -0800 |
tree | c9dd574505f76f5d44fdde2e3148f51a90febc33 | |
parent | c2a583519dacf89fb4231e062e9804355ae2326b [diff] |
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>