summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorRakesh Goyal <rgoyal@nvidia.com>2012-02-10 19:40:13 +0530
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-02-15 00:48:55 -0800
commit077ab49b44e20ad100d9bd46533733d1d024573a (patch)
treef423d0cbae41ca64afbd7db2931d1b02928f0f3e /drivers/misc
parent91b077f8cf2498602efe975c629e0b4efce206b5 (diff)
drivers: misc: ti-st: remove set_power call
set_power() should not be called as BT module(wl12xx) need power rail to be always switched on. Bug 937381 Change-Id: If5b7c6939b57c4384a8b434c58227a84d69e94e5 Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-on: http://git-master/r/83134 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/ti-st/st_kim.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/misc/ti-st/st_kim.c b/drivers/misc/ti-st/st_kim.c
index a823977c36c3..154cee0e5afc 100644
--- a/drivers/misc/ti-st/st_kim.c
+++ b/drivers/misc/ti-st/st_kim.c
@@ -678,9 +678,6 @@ static int kim_probe(struct platform_device *pdev)
struct kim_data_s *kim_gdata;
struct ti_st_plat_data *pdata = pdev->dev.platform_data;
- if (pdata->set_power)
- pdata->set_power(1);
-
if ((pdev->id != -1) && (pdev->id < MAX_ST_DEVICES)) {
/* multiple devices could exist */
st_kim_devices[pdev->id] = pdev;
@@ -777,9 +774,6 @@ static int kim_remove(struct platform_device *pdev)
kfree(kim_gdata);
kim_gdata = NULL;
- if (pdata->set_power)
- pdata->set_power(0);
-
return 0;
}
@@ -790,8 +784,6 @@ int kim_suspend(struct platform_device *pdev, pm_message_t state)
if (pdata->suspend) {
ret = pdata->suspend(pdev, state);
- if (pdata->set_power)
- pdata->set_power(0);
return ret;
}
@@ -803,8 +795,6 @@ int kim_resume(struct platform_device *pdev)
struct ti_st_plat_data *pdata = pdev->dev.platform_data;
if (pdata->resume) {
- if (pdata->set_power)
- pdata->set_power(1);
return pdata->resume(pdev);
}