diff options
author | Johnny Qiu <joqiu@nvidia.com> | 2012-03-01 16:12:56 +0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 01:06:12 -0700 |
commit | d1852c62e0b6e4ae08ba8d2372c7baa2c7aa5875 (patch) | |
tree | acaf12fcf88db8682cf269a5b8086c1fa50ad271 /drivers/mfd/max77663-core.c | |
parent | ab65a7c6e1ca78e19e19406e1b8567fe5f90d8c0 (diff) |
Revert "mfd: max77663: add support for status LED control through PMU GPIO"
This reverts commit 11c94f0d529a089f8cc37311258fd518be576383.
Stat LED control through PMU GPIO should be implemented in another
way. No need to touch PMU driver.
Change-Id: Iecde818425640616df0a92339e1c0e8b323800bd
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/86828
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Rebase-Id: R95d77662a1007e3fa41948192de86400c1733be3
Diffstat (limited to 'drivers/mfd/max77663-core.c')
-rw-r--r-- | drivers/mfd/max77663-core.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/mfd/max77663-core.c b/drivers/mfd/max77663-core.c index 45f9b0058860..47b63561c2e0 100644 --- a/drivers/mfd/max77663-core.c +++ b/drivers/mfd/max77663-core.c @@ -1359,13 +1359,8 @@ static int max77663_suspend(struct device *dev) { struct i2c_client *client = to_i2c_client(dev); struct max77663_chip *chip = i2c_get_clientdata(client); - struct max77663_platform_data *pdata = chip->pdata; int ret; - /* PMU_STAT_LED */ - if (pdata->has_stat_led) - max77663_gpio_dir_input(&chip->gpio, pdata->stat_led_gpio); - if (client->irq) disable_irq(client->irq); @@ -1380,7 +1375,6 @@ static int max77663_resume(struct device *dev) { struct i2c_client *client = to_i2c_client(dev); struct max77663_chip *chip = i2c_get_clientdata(client); - struct max77663_platform_data *pdata = chip->pdata; int ret; ret = max77663_sleep(chip, false); @@ -1392,12 +1386,6 @@ static int max77663_resume(struct device *dev) if (client->irq) enable_irq(client->irq); - /* PMU_STAT_LED */ - if (pdata->has_stat_led) { - max77663_gpio_dir_output(&chip->gpio, MAX77663_GPIO7, - pdata->stat_led_active_low ? 0 : 1); - } - return 0; } #else |