Re: [PATCH] extcon: Implement OF-based extcon lookup properly

2014-10-16 Thread Chanwoo Choi
On 10/16/2014 10:11 PM, Marek Szyprowski wrote: > From: Tomasz Figa > > Platform bus is not the only way to have extcon devices, so current > implementation of of_extcon_get_extcon_dev() is broken. Also using > parent device node only to get device name is quite ugly. > > This patch reimplements

[PATCH] extcon: Implement OF-based extcon lookup properly

2014-10-16 Thread Marek Szyprowski
From: Tomasz Figa Platform bus is not the only way to have extcon devices, so current implementation of of_extcon_get_extcon_dev() is broken. Also using parent device node only to get device name is quite ugly. This patch reimplements of_extcon_get_extcon_dev() to do exactly the same as extcon_g