[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 3 Mar 2022 09:29:27 +0000
From: Adam Thomson <Adam.Thomson.Opensource@...semi.com>
To: Yang Li <yang.lee@...ux.alibaba.com>,
"sre@...nel.org" <sre@...nel.org>
CC: Support Opensource <Support.Opensource@...semi.com>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: RE: [PATCH -next] power: supply: da9150-fg: Remove unnecessary print
function dev_err()
On 01 March 2022 08:16, Yang Li wrote:
> The print function dev_err() is redundant because
> platform_get_irq_byname() already prints an error.
>
> Eliminate the follow coccicheck warning:
> ./drivers/power/supply/da9150-fg.c:524:2-9: line 524 is redundant
> because platform_get_irq() already prints an error
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@...semi.com>
Powered by blists - more mailing lists