diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-09-12 15:16:37 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2014-09-22 15:53:23 +0900 |
commit | d715523174479455b07a8baffbe63ff13e0695bf (patch) | |
tree | 10a71f650a420cc52dfb648049fdef5146fe75cc /drivers/extcon/extcon-sm5502.c | |
parent | 6281100ec84016facda2bbbed5be649ff0f82073 (diff) | |
download | blackbird-op-linux-d715523174479455b07a8baffbe63ff13e0695bf.tar.gz blackbird-op-linux-d715523174479455b07a8baffbe63ff13e0695bf.zip |
extcon: max77693: Use resource managed interrupt line
Use resource managed interrupt line devm_request_threaded_irq() to
simplify a little cleanup paths:
- no goto to cleanup label,
- simpler remove function.
Overall the driver size is decreased by 11 line of code.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-sm5502.c')
0 files changed, 0 insertions, 0 deletions