aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTomasz Figa <[email protected]>2014-10-16 15:11:44 +0200
committerChanwoo Choi <[email protected]>2014-11-24 20:51:15 +0900
commitf841afb17476f485900bb6213cf93a64a7dc303f (patch)
treeb8da8088c72a4a0ee587e1a8e9c575625da4e369 /tools/perf/scripts/python
parent0df1f2487d2f0d04703f142813d53615d62a1da4 (diff)
extcon: Implement OF-based extcon lookup properly
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_get_extcon_dev() but instead of comparing names, compare node pointers. Signed-off-by: Tomasz Figa <[email protected]> [mszyprow: simplified the code] Signed-off-by: Marek Szyprowski <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions