]> git.baikalelectronics.ru Git - kernel.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)
commitb4041e2a5cd7d115798597a33d4847f84c8ebcf1
treebe578669a53eb43515d22eef2576649440841c92
parente1caa98c0dd59b3c7075ae6afa20f4eba40f122a
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