Messages in this thread | | | From | Adam Thomson <> | Subject | RE: [PATCH -next] power: supply: da9150-fg: Remove unnecessary print function dev_err() | Date | Thu, 3 Mar 2022 09:29:27 +0000 |
| |
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@linux.alibaba.com> > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
| |