leds: renesas: use devm_ functions
authorJingoo Han <jg1.han@samsung.com>
Tue, 23 Oct 2012 12:22:11 +0000 (05:22 -0700)
committerBryan Wu <cooloney@gmail.com>
Mon, 26 Nov 2012 22:28:46 +0000 (14:28 -0800)
The devm_ functions allocate memory that is released when a driver
detaches. This makes the code smaller and a bit simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>

No differences found