commit | 5f9dd5c9fd4efacc9f8c36c0b3c17a4308bbe4d9 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Mon Jul 30 14:40:36 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Jul 30 17:25:15 2012 -0700 |
tree | 1032167c60a4cc9c9465944db3e252ba7c29a13e | |
parent | b4a74615a4729ca4e6903bd3027339c4e6e7ae03 [diff] |
backlight: atmel-pwm-bl: 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: Hans-Christian Egtvedt <egtvedt@samfundet.no> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>