]> git.karo-electronics.de Git - karo-tx-linux.git/commit
leds: renesas: use devm_ functions
authorJingoo Han <jg1.han@samsung.com>
Tue, 23 Oct 2012 12:22:11 +0000 (05:22 -0700)
committerBryan Wu <roc@roc-samos.(none)>
Fri, 26 Oct 2012 20:59:54 +0000 (13:59 -0700)
commit1796b91f5f309f35fd725a387a53d3d1e6c1252e
tree7f5bdf1b1bacbc6e61fe09e0950da8b576457c96
parentfe115f5de18e0af24b6ecf1cec09150b77f04c38
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