hwmon: (s3c-hwmon) Use devm_kzalloc instead of kzalloc
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 13 Jul 2012 09:06:28 +0000 (14:36 +0530)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 22 Jul 2012 04:48:45 +0000 (21:48 -0700)
This makes the code simpler as explicit freeing is not needed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

No differences found