Re: [PATCH] platform/chrome: cros_ec_typec: Use dev_err_probe on port register fail

From: AngeloGioacchino Del Regno
Date: Wed Jul 13 2022 - 04:21:17 EST

Il 12/07/22 23:45, Nícolas F. R. A. Prado ha scritto:
The typec_register_port() can fail with EPROBE_DEFER if the endpoint
node hasn't probed yet. In order to avoid spamming the log with errors
in that case, log using dev_err_probe().

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>