video: backlight: use gpio request and free apis for backlight pin
authorSanjay Singh Rawat <srawat@nvidia.com>
Tue, 26 Jun 2012 10:46:56 +0000 (15:46 +0530)
committerSimone Willett <swillett@nvidia.com>
Tue, 3 Jul 2012 22:03:03 +0000 (15:03 -0700)
commit0712b0d16ee2ec690202d8309b0848885901bcfb
tree755d9ca73e29f5d508ddf7c8d8bb8e751edce3d1
parent5b1fcd1355485d347b3f15807561500ec06224ca
video: backlight: use gpio request and free apis for backlight pin

- Gpio freeing function does disabling job.
- If backlight pin is an sfio, we have to claim the gpio. So that we can use
the gpio api's to configure it as sfio.

bug 984440
bug 858120

Change-Id: I583bf4a486d2d9a6d9b78ee459b1962379eafd3b
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/109564
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
arch/arm/mach-tegra/board-enterprise-panel.c
arch/arm/mach-tegra/board-whistler-panel.c
arch/arm/mach-tegra/include/mach/dc.h
drivers/video/backlight/tegra_pwm_bl.c
drivers/video/tegra/dc/dc.c
include/linux/tegra_pwm_bl.h