]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: atmel-pwm-bl: use devm_gpio_request()
authorJingoo Han <jg1.han@samsung.com>
Sat, 21 Jul 2012 00:54:48 +0000 (10:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jul 2012 03:53:16 +0000 (13:53 +1000)
commit33bd050793fdc9ede20c0eed63589e4accaa093e
treede581b75515f68c6914814534a49c7e0956e2d1b
parent6d8a1f99e9ab0e6ea3a1579ea1750bfd7a3e1bed
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>
drivers/video/backlight/atmel-pwm-bl.c