diff options
author | Johan Hovold <johan@kernel.org> | 2017-11-20 11:45:46 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-06-11 13:40:39 +0100 |
commit | 2b12dfa124dbadf391cb9a616aaa6b056823bf75 (patch) | |
tree | 9f514e17dba27a618a86c86796aefc032c230e96 /drivers/pwm | |
parent | d1cc0ec3da23e44c23712579515494b374f111c9 (diff) | |
download | linux-2b12dfa124dbadf391cb9a616aaa6b056823bf75.tar.bz2 |
backlight: tps65217_bl: Fix Device Tree node lookup
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.
Cc: stable <stable@vger.kernel.org> # 3.7
Fixes: eebfdc17cc6c ("backlight: Add TPS65217 WLED driver")
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions