thermal: Delete an error message in four functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 5 Apr 2020 16:35:16 +0000 (18:35 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 14 Apr 2020 09:41:12 +0000 (11:41 +0200)
commit8cb775bb005c568857ba7909a1c5a297ed4c33ee
treed5bfabfc763bbadf4bf372617e0e0e4ef7725ec8
parent0145f67866b71e8c1da3c1d9412623db7ba8a0c8
thermal: Delete an error message in four functions

The function “platform_get_irq” can log an error already.
Thus omit redundant messages for the exception handling in the
calling functions.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/05f49ae7-5cc7-d6a0-fc3d-abaf2a0b373c@web.de
drivers/thermal/rockchip_thermal.c
drivers/thermal/st/st_thermal_memmap.c
drivers/thermal/st/stm_thermal.c
drivers/thermal/ti-soc-thermal/ti-bandgap.c