]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
backlight: corgi_lcd: use devm_gpio_request()
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:16 +0000 (13:53 +1000)
commit256dbf2b6cea88141e10f31533c49fefafd9c629
tree7b386f73c931ef243731c73ff99ee8ac243f97a7
parentc85498adccb57a981484dfe831cae90c4a8d09ab
backlight: corgi_lcd: use devm_gpio_request()

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

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Eric Miao <eric.y.miao@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/corgi_lcd.c