diff options
author | Johan Hovold <johan@kernel.org> | 2017-11-20 13:45:44 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-06-11 15:40:20 +0300 |
commit | 4a9c8bb2aca5b5a2a15744333729745dd9903562 (patch) | |
tree | aa5cb3df0c4b50454c7134c07c8f70eaef6bcca5 /drivers/video/backlight/max8925_bl.c | |
parent | 840d40d941bf669669088732ef68606adb19feeb (diff) | |
download | linux-4a9c8bb2aca5b5a2a15744333729745dd9903562.tar.xz |
backlight: as3711_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.
To make things worse, the parent mfd node was also prematurely freed.
Cc: stable <stable@vger.kernel.org> # 3.10
Fixes: 59eb2b5e57ea ("drivers/video/backlight/as3711_bl.c: add OF support")
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/video/backlight/max8925_bl.c')
0 files changed, 0 insertions, 0 deletions