Skip to content
Commit 8cf18eea authored by Yang Li's avatar Yang Li Committed by Daniel Lezcano
Browse files

thermal/drivers/u8500: 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 warnings:
./drivers/thermal/db8500_thermal.c:162:2-9: line 162 is redundant because platform_get_irq() already prints an error
./drivers/thermal/db8500_thermal.c:176:2-9: line 176 is redundant because platform_get_irq() already prints an error

Signed-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220719003556.74460-1-yang.lee@linux.alibaba.com


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 8f5a9371
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment