OSDN Git Service

thermal: exynos: always check for critical trip points existence
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 26 Apr 2018 11:51:18 +0000 (13:51 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Sun, 6 May 2018 23:14:33 +0000 (16:14 -0700)
commit8f1c404b212baec2f7cb46182a45067066aed131
treef8dc8bb1e57988dca7e9142f828250b2f9421b88
parent75e0f100774f84db43a1a14a3b6a8d3375bed321
thermal: exynos: always check for critical trip points existence

* Check for critical trip point existence in exynos_tmu_initialize()
  so it is checked on all SoCs (except Exynos5433 for now).

* Use dev_err() instead of pr_err().

* Fix dev_err() to reference "device tree" not "of-thermal.c".

* Remove no longer needed check from exynos4412_tmu_initialize().

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/samsung/exynos_tmu.c