projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25c0f4e
)
extcon: adc-jack: Release IIO channel on driver remove
author
Ivan T. Ivanov
<iivanov@mm-sol.com>
Wed, 17 Dec 2014 15:59:27 +0000
(17:59 +0200)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Mon, 26 Jan 2015 04:47:55 +0000
(13:47 +0900)
Release IIO channel acquired during driver probe.
Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-adc-jack.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/extcon/extcon-adc-jack.c
b/drivers/extcon/extcon-adc-jack.c
index 5d7ab577fba94602e638270cb2e4d34d189ef565..2bb82e55065aa3e7d615b6b1c2e46286df0d9d4e 100644
(file)
--- a/
drivers/extcon/extcon-adc-jack.c
+++ b/
drivers/extcon/extcon-adc-jack.c
@@
-173,6
+173,7
@@
static int adc_jack_remove(struct platform_device *pdev)
free_irq(data->irq, data);
cancel_work_sync(&data->handler.work);
+ iio_channel_release(data->chan);
return 0;
}