projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f307a7e
)
regulator: pv88060: Fix irq leak
author
Axel Lin
<axel.lin@ingics.com>
Wed, 25 Nov 2015 04:34:07 +0000
(12:34 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 25 Nov 2015 11:57:46 +0000
(11:57 +0000)
Use devm_request_threaded_irq to ensure the irq is freed when unload the
module.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pv88060-regulator.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/pv88060-regulator.c
b/drivers/regulator/pv88060-regulator.c
index 60b16d835df72b664a5be0e2e8510851e0c19ab3..69893f28122a6bc48b8e40f18bdce4bc39561e23 100644
(file)
--- a/
drivers/regulator/pv88060-regulator.c
+++ b/
drivers/regulator/pv88060-regulator.c
@@
-365,7
+365,7
@@
static int pv88060_i2c_probe(struct i2c_client *i2c,
return ret;
}
- ret =
request_threaded_irq(
i2c->irq, NULL,
+ ret =
devm_request_threaded_irq(&i2c->dev,
i2c->irq, NULL,
pv88060_irq_handler,
IRQF_TRIGGER_LOW|IRQF_ONESHOT,
"pv88060", chip);