]> git.ipfire.org Git - thirdparty/linux.git/commit
drm: panel: orisetech: improve error handling during probe
authorAkhilesh Patil <akhilesh@ee.iitb.ac.in>
Thu, 24 Jul 2025 16:08:32 +0000 (21:38 +0530)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 4 Aug 2025 15:28:29 +0000 (17:28 +0200)
commit640d512caa64b569e58a08b540d9c400e1aa8f94
tree9af95f6e936c7b40d22ff04ad25775331e2393a2
parent368ea3f33f01b618bd645aa61b673f92e9aae767
drm: panel: orisetech: improve error handling during probe

Use dev_err_probe() helper as directed by core driver model to handle
driver probe error. Use standard helper defined at drivers/base/core.c
to maintain code consistency.

Inspired by,
commit a787e5400a1ce ("driver core: add device probe log helper")

Signed-off-by: Akhilesh Patil <akhilesh@ee.iitb.ac.in>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/aIJagJ/RnhSCtb2t@bhairav-test.ee.iitb.ac.in
drivers/gpu/drm/panel/panel-orisetech-ota5601a.c