diff options
author | Chen Haonan <chen.haonan2@zte.com.cn> | 2023-12-25 22:26:15 +0800 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2024-01-12 10:34:55 +0100 |
commit | 9f78b3ae051d9eeeed9658cf54b3f0ea6920097b (patch) | |
tree | 15b536bfb2374da4c6c13ed68f6e8efd52cbae32 /drivers/ata/pata_oldpiix.c | |
parent | ea4f9975625af861c2795c557b8fab2b492ff749 (diff) |
drm/panel: Simplify with dev_err_probe()
dev_err_probe() can check if the error code is -EPROBE_DEFER
and can return the error code, replacing dev_err() with it
simplifies the code.
Signed-off-by: Chen Haonan <chen.haonan2@zte.com.cn>
Reviewed-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Link: https://lore.kernel.org/r/3ac20d355b0b3ad3cedb87c8f4efa819a055624b.1702967834.git.chen.haonan2@zte.com.cn
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/3ac20d355b0b3ad3cedb87c8f4efa819a055624b.1702967834.git.chen.haonan2@zte.com.cn
Diffstat (limited to 'drivers/ata/pata_oldpiix.c')
0 files changed, 0 insertions, 0 deletions