diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2011-03-14 09:51:33 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-03-14 17:36:15 -0800 |
commit | ac6c67d1089a31107cc5838ea766497dfa968914 (patch) | |
tree | f4bfc46acdb6ce212a5c7736f281e2b50142ec6a /drivers/mfd | |
parent | 5180fe3f687d2a81fb8a3b607027b922a30c8c16 (diff) |
Revert "mfd: tps6586x: add suspend/resume handlers"
This reverts commit d64db664f2e8d6f4d08db249135011e32d54bc7a.
Change-Id: I8de61440cbbe5a12f8cf2d045e7035b9a0ab7369
Reviewed-on: http://git-master/r/22775
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/mfd')
-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) |