From de005987c3eb20820d373caf4b13c09c8aa2bfc1 Mon Sep 17 00:00:00 2001 From: Varun Wadekar Date: Mon, 14 Mar 2011 19:51:08 +0530 Subject: Revert "mfd: tps6586x: add suspend/resume handlers" This reverts commit b514cec462faa2e29adc8c76e43acffcfca248f6. Change-Id: I674b74e0e173a5af1c5107ffa106f16919887c2f Signed-off-by: Varun Wadekar Reviewed-on: http://git-master/r/22828 Reviewed-by: Bharat Nihalani --- drivers/mfd/tps6586x.c | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'drivers') 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) -- cgit v1.2.3