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>