]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: ot200_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)
commitcd6e29873b5940e7f27157e4913e3c34167ab570
treeab95205bd5c968bb279d0760443b5ee0825d582c
parent33bd050793fdc9ede20c0eed63589e4accaa093e
backlight: ot200_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>
Acked-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/ot200_bl.c