commit | 739ba1bfdb15e773999aafddbd6c59b5737797a0 | [log] [tgz] |
---|---|---|
author | Chanwoo Choi <cw00.choi@samsung.com> | Thu Apr 24 20:12:15 2014 +0900 |
committer | Chanwoo Choi <cw00.choi@samsung.com> | Tue Apr 29 09:45:56 2014 +0900 |
tree | 2c8ad1e36b316e894aa53eb5861cef2546bf3b91 | |
parent | a9af65223b41cec60cd44fa95a93d10149deb143 [diff] |
extcon: Add devm_extcon_dev_allocate/free to manage the resource of extcon device This patch add device managed devm_extcon_dev_{allocate,free} to automatically free the memory of extcon_dev structure without handling free operation. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Reviewed-by: Felipe Balbi <balbi@ti.com>