thermal: exynos: replace tmu_irqstatus check by Exynos5440 one
reg->tmu_irqstatus is set to non-zero value only for Exynos5440 so replace check for non-zero value of reg->tmu_irqstatus by explicitly checking for Exynos5440 SoC type. Then remove no longer needed reg->tmu_irqstatus register abstraction. There should be no functional changes caused by this patch. Cc: Amit Daniel Kachhap <amit.daniel@samsung.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Eduardo Valentin <edubezval@gmail.com> Cc: Zhang Rui <rui.zhang@intel.com> Signed-off-by:Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Acked-by:
Kyungmin Park <kyungmin.park@samsung.com> Tested-by:
Lukasz Majewski <l.majewski@samsung.com> Signed-off-by:
Eduardo Valentin <edubezval@gmail.com>
Showing
- drivers/thermal/samsung/exynos_tmu.c 2 additions, 4 deletionsdrivers/thermal/samsung/exynos_tmu.c
- drivers/thermal/samsung/exynos_tmu.h 0 additions, 2 deletionsdrivers/thermal/samsung/exynos_tmu.h
- drivers/thermal/samsung/exynos_tmu_data.c 0 additions, 1 deletiondrivers/thermal/samsung/exynos_tmu_data.c
Loading
Please register or sign in to comment