commit | 1111244ff4493448c0ee66e814e20c6e81d3b93d | [log] [tgz] |
---|---|---|
author | Sangjung Woo <sangjung.woo@samsung.com> | Mon Apr 21 19:10:08 2014 +0900 |
committer | Chanwoo Choi <cw00.choi@samsung.com> | Thu Apr 24 19:36:55 2014 +0900 |
tree | 67e3d29dc335fcd67f85d4a4683c271d3749829a | |
parent | 369afd4ba22f5b8de0c9229b6e62b3f9e2207034 [diff] |
extcon: Add resource-managed extcon register function Add resource-managed extcon device register function for convenience. For example, if a extcon device is attached with new devm_extcon_dev_register(), that extcon device is automatically unregistered on driver detach. Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com> [Fix bug about devm_extcon_dev_match/release() and code clean by Chanwoo Choi] Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>