Re: [PATCH 1/8] extcon: Add resource-managed extcon register function

2014-04-16 Thread Chanwoo Choi
Hi Sangjung, Thanks for your contribution. On 04/16/2014 07:26 PM, Sangjung Woo wrote: > 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

[PATCH 1/8] extcon: Add resource-managed extcon register function

2014-04-16 Thread Sangjung Woo
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 --- drivers/extcon/extcon-class.c | 83 +