aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/tps65090.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/mfd/tps65090.c b/drivers/mfd/tps65090.c
index 2ad0a1528650..98edb5be85c6 100644
--- a/drivers/mfd/tps65090.c
+++ b/drivers/mfd/tps65090.c
@@ -230,28 +230,6 @@ static int tps65090_i2c_remove(struct i2c_client *client)
230 return 0; 230 return 0;
231} 231}
232 232
233#ifdef CONFIG_PM_SLEEP
234static int tps65090_suspend(struct device *dev)
235{
236 struct i2c_client *client = to_i2c_client(dev);
237 if (client->irq)
238 disable_irq(client->irq);
239 return 0;
240}
241
242static int tps65090_resume(struct device *dev)
243{
244 struct i2c_client *client = to_i2c_client(dev);
245 if (client->irq)
246 enable_irq(client->irq);
247 return 0;
248}
249#endif
250
251static const struct dev_pm_ops tps65090_pm_ops = {
252 SET_SYSTEM_SLEEP_PM_OPS(tps65090_suspend, tps65090_resume)
253};
254
255static const struct i2c_device_id tps65090_id_table[] = { 233static const struct i2c_device_id tps65090_id_table[] = {
256 { "tps65090", 0 }, 234 { "tps65090", 0 },
257 { }, 235 { },
@@ -263,7 +241,6 @@ static struct i2c_driver tps65090_driver = {
263 .name = "tps65090", 241 .name = "tps65090",
264 .owner = THIS_MODULE, 242 .owner = THIS_MODULE,
265 .of_match_table = of_match_ptr(tps65090_of_match), 243 .of_match_table = of_match_ptr(tps65090_of_match),
266 .pm = &tps65090_pm_ops,
267 }, 244 },
268 .probe = tps65090_i2c_probe, 245 .probe = tps65090_i2c_probe,
269 .remove = tps65090_i2c_remove, 246 .remove = tps65090_i2c_remove,