diff options
| author | Akhilesh Patil <akhilesh@ee.iitb.ac.in> | 2025-07-24 13:35:07 +0300 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2025-08-20 19:55:38 +0300 |
| commit | 38404274bbee1f0001a490c0dc98aac32a4d7c9d (patch) | |
| tree | c2f556a25bdbc030d5a59c1cb7d7fb51bb9a319b /rust/helpers/build_assert.c | |
| parent | ce489635960a6a3fcb0abe0918994f2d8deb02ed (diff) | |
| download | linux-38404274bbee1f0001a490c0dc98aac32a4d7c9d.tar.xz | |
phy: ingenic: use core driver model helper to handle probe errors
Use core driver model helper dev_err_probe() defined at
drivers/base/core.c in driver probe path to propagate errors.
standardize and improve the code of deferred probe error handling
using this helper for ingenic usb phy driver.
Inspired by,
commit a787e5400a1ce ("driver core: add device probe log helper")
Signed-off-by: Akhilesh Patil <akhilesh@ee.iitb.ac.in>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Link: https://lore.kernel.org/r/aIIMW971BYsIk4As@bhairav-test.ee.iitb.ac.in
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions
