linux-stable/drivers/video/backlight
Johan Hovold 099fae46d8 backlight: tps65217_bl: Fix Device Tree node lookup
commit 2b12dfa124 upstream.

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: eebfdc17cc ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-03 11:23:14 +02:00
..
88pm860x_bl.c
Kconfig
Makefile
aat2870_bl.c
adp5520_bl.c
adp8860_bl.c
adp8870_bl.c
ams369fg06.c
apple_bl.c
as3711_bl.c backlight: as3711_bl: Fix Device Tree node lookup 2018-07-03 11:23:14 +02:00
backlight.c backlight: Report error on failure 2018-04-13 19:48:13 +02:00
bd6107.c
corgi_lcd.c backlight: tdo24m: Fix the SPI CS between transfers 2018-04-13 19:48:11 +02:00
cr_bllcd.c
da903x_bl.c
da9052_bl.c
ep93xx_bl.c
generic_bl.c
gpio_backlight.c
hp680_bl.c
hx8357.c
ili922x.c
ili9320.c
ili9320.h
ipaq_micro_bl.c
jornada720_bl.c
jornada720_lcd.c
kb3886_bl.c
l4f00242t03.c
lcd.c
ld9040.c
ld9040_gamma.h
lm3533_bl.c
lm3630a_bl.c
lm3639_bl.c
lms283gf05.c
lms501kf03.c
locomolcd.c
lp855x_bl.c
lp8788_bl.c
ltv350qv.c
ltv350qv.h
lv5207lp.c
max8925_bl.c backlight: max8925_bl: Fix Device Tree node lookup 2018-07-03 11:23:14 +02:00
omap1_bl.c
ot200_bl.c
pandora_bl.c
pcf50633-backlight.c
platform_lcd.c
pm8941-wled.c
pwm_bl.c backlight: pwm_bl: Fix overflow condition 2017-12-25 14:23:43 +01:00
s6e63m0.c
s6e63m0_gamma.h
sky81452-backlight.c
tdo24m.c backlight: tdo24m: Fix the SPI CS between transfers 2018-04-13 19:48:11 +02:00
tosa_bl.c
tosa_lcd.c backlight: tdo24m: Fix the SPI CS between transfers 2018-04-13 19:48:11 +02:00
tps65217_bl.c backlight: tps65217_bl: Fix Device Tree node lookup 2018-07-03 11:23:14 +02:00
vgg2432a4.c
wm831x_bl.c