Tag: e35dbb4d4b4499e8a013564f0753dabc1c49e9d9

thermal: exynos: Directly return 0 instead of using local ret variable

Author: Krzysztof Kozlowski <k.kozlowski@samsung.com> The ‘ret’ variable in exynos5440_tmu_initialize() is initialized to 0 and returned as is. Replace it with direct return statement. This also fixes coccinelle warning: drivers/thermal/samsung/exynos_tmu.c:611:5-8: Unneeded variable: “ret”. Return “0” on line 654 Reviewed-by: Alim Akhtar Acked-by: Lukasz Majewski Tested-by: Lukasz Majewski Signed-off-by: Krzysztof Kozlowski Signed-off-by: Eduardo Valentin — drivers/thermal/samsung/exynos_tmu.c | …

Continue reading