]> git.baikalelectronics.ru Git - kernel.git/commit
thermal/drivers/u8500: Remove unnecessary print function dev_err()
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 19 Jul 2022 00:35:56 +0000 (08:35 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 28 Jul 2022 15:29:50 +0000 (17:29 +0200)
commita6c1ba2a6d5e797fac1bd88c59811109d0f248e7
tree6def2e34dbbf40b337f1a68c03a8e4350b2cb391
parentb7cb6303efd203ebe95e287a2a7c2a0e6c0da903
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: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220719003556.74460-1-yang.lee@linux.alibaba.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/db8500_thermal.c