Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: pixcir_i2c_ts - remove wakeirq related code from pixcir driver

With commit 3fffd1283927 ("i2c: allow specifying separate wakeup
interrupt in device tree") wakeirq is managed by i2c-core, so remove
wakeirq related code from pixcir_i2c_ts driver.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Vignesh R and committed by
Dmitry Torokhov
881d8245 47ec6e5a

-12
-12
drivers/input/touchscreen/pixcir_i2c_ts.c
··· 377 377 goto unlock; 378 378 } 379 379 } 380 - 381 - enable_irq_wake(client->irq); 382 380 } else if (input->users) { 383 381 ret = pixcir_stop(ts); 384 382 } ··· 397 399 mutex_lock(&input->mutex); 398 400 399 401 if (device_may_wakeup(&client->dev)) { 400 - disable_irq_wake(client->irq); 401 402 402 403 if (!input->users) { 403 404 ret = pixcir_stop(ts); ··· 561 564 return error; 562 565 563 566 i2c_set_clientdata(client, tsdata); 564 - device_init_wakeup(&client->dev, 1); 565 - 566 - return 0; 567 - } 568 - 569 - static int pixcir_i2c_ts_remove(struct i2c_client *client) 570 - { 571 - device_init_wakeup(&client->dev, 0); 572 567 573 568 return 0; 574 569 } ··· 598 609 .of_match_table = of_match_ptr(pixcir_of_match), 599 610 }, 600 611 .probe = pixcir_i2c_ts_probe, 601 - .remove = pixcir_i2c_ts_remove, 602 612 .id_table = pixcir_i2c_ts_id, 603 613 }; 604 614