Skip to content

Commit

Permalink
hwmon: (pmbus) Simplify memory allocation for labels and booleans
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Guenter Roeck committed Feb 6, 2013
1 parent c2a5835 commit 0328461
Showing 1 changed file with 149 additions and 116 deletions.
Loading

0 comments on commit 0328461

Please sign in to comment.