]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (pmbus) Simplify memory allocation for sensor attributes
authorGuenter Roeck <linux@roeck-us.net>
Sun, 20 Jan 2013 20:01:41 +0000 (12:01 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 6 Feb 2013 17:58:02 +0000 (09:58 -0800)
commite1e081a7e3ae7c2390889688b4f8a0c7dbb6bb6b
treebe578669a53eb43515d22eef2576649440841c92
parent663834f3b796c0a118b84cf18c759f2c2aa537b6
hwmon: (pmbus) Simplify memory allocation for sensor attributes

Since memory is now allocated with dev_ functions, we no longer need to keep
track of allocated memory. Sensor memory allocation can therefore be
simplified significantly.

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