diff options
author | 2021-11-02 23:55:03 +0100 | |
---|---|---|
committer | 2021-12-22 11:13:25 +0000 | |
commit | 92add941b6be185e511a7564bf68963fa1633d53 (patch) | |
tree | da249c39627bf7e86443188acad911bd15c9f1ce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | backlight: lp855x: Move device_config setting out of lp855x_configure() (diff) | |
download | linux-dev-92add941b6be185e511a7564bf68963fa1633d53.tar.xz linux-dev-92add941b6be185e511a7564bf68963fa1633d53.zip |
backlight: lp855x: Add dev helper variable to lp855x_probe()
Add a dev local variable to the lp855x_probe(), to replace "&cl->dev"
and "lp->dev" in various places.
Also switch to dev_err_probe() in one case which takes care of not
printing -EPROBE_DEFER errors for us.
This is mostly a preparation for adding ACPI enumeration support which
will use the new "dev" variable more.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211102225504.18920-2-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions