]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
backlight: l4f00242t03: export and use devm_gpio_request_one()
authorJingoo Han <jg1.han@samsung.com>
Mon, 30 Jul 2012 21:40:47 +0000 (14:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:15 +0000 (17:25 -0700)
commit62a5c075bafb91895506bc68f76db1ff1b5d1a02
tree2ad00fec41baefb17f1d1c66a7b0c5f8943cbe96
parent4405d5d9dd76740bfb715fc6a32343e087a13e1e
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/l4f00242t03.c