Re: [PATCH v1 2/3] serial: tegra-tcu: Make use of dev_err_probe() in .probe()

From: Peng Fan

Date: Sun Oct 11 2026 - 08:01:21 EST


On Wed, Aug 12, 2026 at 05:25:53PM +0200, Uwe Kleine-König wrote:
>Usage of dev_err_probe() is (sometimes) a bit more compact than
>dev_err(), it properly handles ENOMEM and EPROBE_DEFER and emits the
>error code symbolically.
>
>Also introduce a variable to hold &pdev->dev to reduce line length a
>bit.
>
>Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxx>

Reviewed-by: Peng Fan <peng.fan@xxxxxxx>