projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45ee285
)
nfc: s3fwrn5: i2c: Use devm_request_threaded_irq to avoid irq leak
author
Axel Lin
<axel.lin@ingics.com>
Tue, 22 Sep 2015 09:49:26 +0000
(17:49 +0800)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 6 Oct 2015 23:41:58 +0000
(
01:41
+0200)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/s3fwrn5/i2c.c
patch
|
blob
|
history
diff --git
a/drivers/nfc/s3fwrn5/i2c.c
b/drivers/nfc/s3fwrn5/i2c.c
index b4dd7dd47473c03c7b891e86702ec2060e10c11d..c61d8a308da456f8bbdda345a190e5abf85fbe45 100644
(file)
--- a/
drivers/nfc/s3fwrn5/i2c.c
+++ b/
drivers/nfc/s3fwrn5/i2c.c
@@
-258,7
+258,7
@@
static int s3fwrn5_i2c_probe(struct i2c_client *client,
if (ret < 0)
return ret;
- ret =
request_threaded_irq(
phy->i2c_dev->irq, NULL,
+ ret =
devm_request_threaded_irq(&client->dev,
phy->i2c_dev->irq, NULL,
s3fwrn5_i2c_irq_thread_fn, IRQF_TRIGGER_HIGH | IRQF_ONESHOT,
S3FWRN5_I2C_DRIVER_NAME, phy);
if (ret)