Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 47726656 authored by Sean Paul's avatar Sean Paul Committed by Lee Jones
Browse files

backlight: lp855x: Refactor DT parsing code



This patch refactors the dt parsing code to avoid setting platform_data,
instead just setting lp->pdata directly. This facilitates easier
probe deferral since the current scheme would require us to clear out
dev->platform_data before deferring.

Cc: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
Acked-by: default avatarMilo Kim <milo.kim@ti.com>
Acked-by: default avatarBryan Wu <cooloney@gmail.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent edf387b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment