diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2011-03-14 19:51:08 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-03-14 16:53:04 -0800 |
commit | de005987c3eb20820d373caf4b13c09c8aa2bfc1 (patch) | |
tree | a64ef498838ada4455fd8317e058e8fa04d58e39 /drivers | |
parent | a8cae2f261e72b50c04af59951aba735ee675a9a (diff) |
Revert "mfd: tps6586x: add suspend/resume handlers"
This reverts commit b514cec462faa2e29adc8c76e43acffcfca248f6.
Change-Id: I674b74e0e173a5af1c5107ffa106f16919887c2f
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/22828
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/tps6586x.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c index 4d52fb0f84b7..851049b38a6d 100644 --- a/drivers/mfd/tps6586x.c +++ b/drivers/mfd/tps6586x.c @@ -578,25 +578,6 @@ static int __devexit tps6586x_i2c_remove(struct i2c_client *client) return 0; } -#ifdef CONFIG_PM -static int tps6586x_i2c_suspend(struct i2c_client *client, - pm_message_t state) -{ - if (client->irq) - disable_irq(client->irq); - - return 0; -} - -static int tps6586x_i2c_resume(struct i2c_client *client) -{ - if (client->irq) - enable_irq(client->irq); - - return 0; -} -#endif - static const struct i2c_device_id tps6586x_id_table[] = { { "tps6586x", 0 }, { }, @@ -611,10 +592,6 @@ static struct i2c_driver tps6586x_driver = { .probe = tps6586x_i2c_probe, .remove = __devexit_p(tps6586x_i2c_remove), .id_table = tps6586x_id_table, -#ifdef CONFIG_PM - .suspend = tps6586x_i2c_suspend, - .resume = tps6586x_i2c_resume, -#endif }; static int __init tps6586x_init(void) |