leds: leds-fsg: use devm_ioremap
authorJingoo Han <jg1.han@samsung.com>
Tue, 23 Oct 2012 12:19:41 +0000 (05:19 -0700)
committerBryan Wu <cooloney@gmail.com>
Mon, 26 Nov 2012 22:28:45 +0000 (14:28 -0800)
commitaa2dcf9dc150d4d077d8fa4a19f6e05196e9b9a5
tree041dda65331b8577b447f3f70e96c6703c4ebc3c
parentb0053aaa23907cb3e10e6d13923b9afd735c7272
leds: leds-fsg: 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-fsg.c