[PATCH -next] power: supply: Remove redundant dev_err_probe()

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Thu Jul 27 03:11:27 PDT 2023


Il 27/07/23 10:23, Ruan Jinjie ha scritto:
> There is no need to call the dev_err_probe() function directly to print
> a custom message when handling an error from platform_get_irq_byname()
> function as it is going to display an appropriate error message
> in case of a failure.
> 
> Signed-off-by: Ruan Jinjie <ruanjinjie at huawei.com>

power: supply: Remove redundant dev_err_probe() for platform_get_irq_byname()

After clarifying the commit title,

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





More information about the Linux-mediatek mailing list