]> git.karo-electronics.de Git - karo-tx-linux.git/commit
leds: leds-cobalt-qube: use devm_ioremap
authorJingoo Han <jg1.han@samsung.com>
Tue, 23 Oct 2012 12:21:27 +0000 (05:21 -0700)
committerBryan Wu <roc@roc-samos.(none)>
Fri, 26 Oct 2012 20:59:53 +0000 (13:59 -0700)
commitfe115f5de18e0af24b6ecf1cec09150b77f04c38
tree3c52fa30e12ffc2da417e2c1db998eb438f338cd
parent01bdc8e70401c0bd6bd3d7a43d32616a0c8f387a
leds: leds-cobalt-qube: use devm_ioremap

The devm_ functions allocate memory that is released when a driver
detaches. This patch uses devm_ioremap() for these functions.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-cobalt-qube.c