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)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 08:25:15 +0000 (01:25 -0700)
commite6d3cab9a20a9e787cb2b76dbd92ac07fed37628
tree9fe289f2be64db76989744e3da97c433343ccc1e
parent5cd2d9ec5aada821f900330755a799d44be28eaf
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/include/mach/dc.h
drivers/video/backlight/tegra_pwm_bl.c
drivers/video/tegra/dc/dc.c
include/linux/tegra_pwm_bl.h