]> git.baikalelectronics.ru Git - kernel.git/commit
backlight: lms283gf05: use devm_gpio_request()
authorJingoo Han <jg1.han@samsung.com>
Mon, 30 Jul 2012 21:40:43 +0000 (14:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:15 +0000 (17:25 -0700)
commit8c7791713e0119ab8ef2b3517588e1dcf5a0be5f
tree11058bae9d3ed877e0ba9e9daa181998106c0d4a
parent5aea866205ca173e0f672a2dc20a5393f994d692
backlight: lms283gf05: 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>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/lms283gf05.c