[PATCH 3/3] backlight: tps65217_bl: fix device-tree node lookup

2017-11-13 Thread Johan Hovold
Fix child-node lookup during probe, which ended up searching the whole device tree depth-first starting at the parent rather than just matching on its children. This would only cause trouble if the child node is missing while there is an unrelated node named "backlight" elsewhere in the tree. Fix

Re: [PATCH 3/3] backlight: tps65217_bl: fix device-tree node lookup

2017-11-13 Thread Daniel Thompson
On 13/11/17 10:20, Johan Hovold wrote: Fix child-node lookup during probe, which ended up searching the whole device tree depth-first starting at the parent rather than just matching on its children. This would only cause trouble if the child node is missing while there is an unrelated node name