mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
slimport: anx7808: Remove the redundant codes, irq_set_irq_wake
enable_irq_wake is a wrapper function of irq_set_irq_wake(). So you don't need to use irq_set_irq_wake(). Change-Id: I68ceeda1468b449ba32de63430e45dad5ebfeb15
This commit is contained in:
parent
d8896027c6
commit
cd5aa714dc
1 changed files with 0 additions and 7 deletions
|
@ -447,13 +447,6 @@ static int anx7808_i2c_probe(struct i2c_client *client,
|
|||
goto err2;
|
||||
}
|
||||
|
||||
ret = irq_set_irq_wake(client->irq, 1);
|
||||
if (ret < 0) {
|
||||
pr_err("%s : Request irq for cable detect"
|
||||
"interrupt wake set fail\n", __func__);
|
||||
goto err3;
|
||||
}
|
||||
|
||||
ret = enable_irq_wake(client->irq);
|
||||
if (ret < 0) {
|
||||
pr_err("%s : Enable irq for cable detect"
|
||||
|
|
Loading…
Reference in a new issue