commit | 4405d5d9dd76740bfb715fc6a32343e087a13e1e | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Mon Jul 30 14:40:45 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Jul 30 17:25:15 2012 -0700 |
tree | 5191c4c7c0b4aaf98d392a1a4f35686d1e56e889 | |
parent | 04e961fb1da31258f7bf4480a59518c3de3caa60 [diff] |
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>