]> 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)>
Thu, 1 Nov 2012 22:47:45 +0000 (15:47 -0700)
commit00bd1b04bd612436edfdcc1f2f0499563889b956
tree21ceb211065a930b8e4360dde190214684c5fb43
parentbe8f0a8dbcbace278248204beed0e59cb7cdade4
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