Re: [PATCH -next v2] usb: musb: mediatek: Simplify code with dev_err_probe()

From: AngeloGioacchino Del Regno
Date: Wed Sep 11 2024 - 03:48:54 EST


Il 07/09/24 10:13, Lin Ruifeng ha scritto:
The combination of dev_err() and the returned error code could be
replaced by dev_err_probe() in driver's probe function.
>

Let's,
converting to dev_err_probe() to make code more simple.

Convert to dev_err_probe() to simplify the code.


Signed-off-by: Lin Ruifeng <linruifeng4@xxxxxxxxxx>

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