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

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Wed Sep 11 00:48:42 PDT 2024


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 at huawei.com>

After which,
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>





More information about the Linux-mediatek mailing list