power: supply: Remove unnecessary print function dev_err()
authorYang Li <yang.lee@linux.alibaba.com>
Wed, 4 May 2022 13:52:14 +0000 (21:52 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 9 Jun 2022 18:27:21 +0000 (20:27 +0200)
commitb770583ba6028e8cbd2d49dad9eff63cba3d6fef
treeb6cd3fa0861c679a8fa44fe81ce87fe36026cf07
parentd54087651efd06e804b92c485b7612307e3839d1
power: supply: Remove unnecessary print function dev_err()

The print function dev_err() is redundant because
platform_get_irq() already prints an error.

Eliminate the follow coccicheck warning:
./drivers/power/supply/goldfish_battery.c:225:2-9: line 225 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>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/goldfish_battery.c