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)
commitf9e007fffd44ba508c0b9c62c8126eb350bcff1e
tree18e0757dc28d21589ba2e5f0c0732678852a5996
parentf87ef101056a34d69d7aa2611da0eb95ff4414f9
leds: renesas: use devm_ functions

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>
drivers/leds/leds-renesas-tpu.c