linux_old1/drivers/thermal/samsung
Markus Elfring d3e19567fa thermal: Exynos: Deletion of unnecessary checks before two function calls
The functions cpufreq_cooling_unregister() and thermal_zone_device_unregister()
test whether their argument is NULL and then return immediately.
Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2014-11-21 15:20:17 -04:00
..
Kconfig thermal: exynos: Clean up non-DT remnants 2013-08-29 09:37:31 -04:00
Makefile thermal: exynos: Bifurcate exynos tmu driver and configuration data 2013-08-13 09:52:00 -04:00
exynos_thermal_common.c thermal: Exynos: Deletion of unnecessary checks before two function calls 2014-11-21 15:20:17 -04:00
exynos_thermal_common.h thermal: exynos: Add support for many TRIMINFO_CTRL registers 2014-11-02 23:02:48 -04:00
exynos_tmu.c thermal: exynos: fix IRQ clearing on TMU initialization 2014-11-02 23:02:49 -04:00
exynos_tmu.h thermal: exynos: fix IRQ clearing on TMU initialization 2014-11-02 23:02:49 -04:00
exynos_tmu_data.c thermal: exynos: use correct offset for TMU_CONTROL register on Exynos5260 2014-11-07 14:52:42 -04:00
exynos_tmu_data.h thermal: exynos: use correct offset for TMU_CONTROL register on Exynos5260 2014-11-07 14:52:42 -04:00