]> git.ipfire.org Git - thirdparty/linux.git/commit
backlight: hx8357: Make use of dev_err_probe()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 1 Feb 2024 14:47:44 +0000 (16:47 +0200)
committerLee Jones <lee@kernel.org>
Thu, 7 Mar 2024 09:03:28 +0000 (09:03 +0000)
commit7244d89ae306cdbe4d8891d61cff56b670827672
tree8a6f9ed0b86a5427c647a3f93a49dbc8ea667e41
parent2f15475b178e79e55221269e1d6a1120994162a7
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>
drivers/video/backlight/hx8357.c