leds: leds-cobalt-raq: use devm_ioremap
authorJingoo Han <jg1.han@samsung.com>
Tue, 23 Oct 2012 12:20:50 +0000 (05:20 -0700)
committerBryan Wu <cooloney@gmail.com>
Mon, 26 Nov 2012 22:28:45 +0000 (14:28 -0800)
commit50e5194385a7be0f3c6b1f97749854cf29562619
tree197066f95ea320f8059916ad8ea6225ebdf86144
parentaa2dcf9dc150d4d077d8fa4a19f6e05196e9b9a5
leds: leds-cobalt-raq: 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-raq.c