diff options
author | Sanjay Singh Rawat <srawat@nvidia.com> | 2012-06-26 16:16:56 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 01:25:15 -0700 |
commit | e6d3cab9a20a9e787cb2b76dbd92ac07fed37628 (patch) | |
tree | 9fe289f2be64db76989744e3da97c433343ccc1e /include | |
parent | 5cd2d9ec5aada821f900330755a799d44be28eaf (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tegra_pwm_bl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/tegra_pwm_bl.h b/include/linux/tegra_pwm_bl.h index 71a81f2eda88..3ed5e8a3c0a9 100644 --- a/include/linux/tegra_pwm_bl.h +++ b/include/linux/tegra_pwm_bl.h @@ -17,7 +17,6 @@ struct platform_tegra_pwm_backlight_data { int which_dc; int which_pwm; - void (*switch_to_sfio)(int); int gpio_conf_to_sfio; unsigned int dft_brightness; unsigned int max_brightness; |