[PATCH -next] thermal: Clean up redundant dev_err_probe()
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Wed Aug 2 03:02:58 PDT 2023
Il 02/08/23 11:45, Chen Jiahao ha scritto:
> Referring to platform_get_irq()'s definition, the return value has
> already been checked if ret < 0, and printed via dev_err_probe().
> Calling dev_err_probe() one more time outside platform_get_irq()
> is obviously redundant.
>
> Removing dev_err_probe() outside platform_get_irq() to clean up
> above problem.
>
> Signed-off-by: Chen Jiahao <chenjiahao16 at huawei.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list