[PATCH 1/9] extcon: Add extcon_dev_allocate/free() to control the memory of extcon device

2014-04-21 Thread Chanwoo Choi
This patch add APIs to control the extcon device on extcon provider driver. The extcon_dev_allocate() allocates the memory of extcon device and initializes supported cables. And then extcon_dev_free() decrement the reference of the device of extcon device and free the memory of the extcon device.

[PATCH 1/9] extcon: Add extcon_dev_allocate/free() to control the memory of extcon device

2014-04-21 Thread Chanwoo Choi
This patch add APIs to control the extcon device on extcon provider driver. The extcon_dev_allocate() allocates the memory of extcon device and initializes supported cables. And then extcon_dev_free() decrement the reference of the device of extcon device and free the memory of the extcon device.