]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
backlight: l4f00242t03: export and use devm_gpio_request_one()
authorJingoo Han <jg1.han@samsung.com>
Sat, 21 Jul 2012 00:54:49 +0000 (10:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jul 2012 03:53:17 +0000 (13:53 +1000)
commit1036773860a13ef16def3625052b84289ea709a6
tree279d34d674abdb877cc530432c5c32827f9457a4
parent256dbf2b6cea88141e10f31533c49fefafd9c629
backlight: l4f00242t03: export and use devm_gpio_request_one()

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

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Alberto Panizzo <alberto@amarulasolutions.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/l4f00242t03.c