diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-02-01 16:47:44 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-03-07 09:03:28 +0000 |
commit | 7244d89ae306cdbe4d8891d61cff56b670827672 (patch) | |
tree | 8a6f9ed0b86a5427c647a3f93a49dbc8ea667e41 /scripts | |
parent | 2f15475b178e79e55221269e1d6a1120994162a7 (diff) |
backlight: hx8357: Make use of dev_err_probe()
Simplify the error handling in probe function by switching from
dev_err() to dev_err_probe().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20240201144951.294215-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions