From 13028ce94b2e2e288c4bf1d34bbb9dda17c7a8fc Mon Sep 17 00:00:00 2001 From: Hyeonseong Gil Date: Fri, 24 Mar 2017 10:39:25 +0900 Subject: [PATCH] [COMMON] thermal: samsung: Remove checking cpufreq To pull in init sequence of DTM, remove checking cpufreq Change-Id: Ibaad030b047e0632786019e735b6877a6ede85a0 Signed-off-by: Hyeonseong Gil --- drivers/thermal/samsung/exynos_tmu.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index d6bc555089af..783a420faeb1 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c @@ -1774,10 +1774,6 @@ static int exynos_tmu_probe(struct platform_device *pdev) { struct exynos_tmu_data *data; int ret; -#ifdef CONFIG_CPU_FREQ - if (!cpufreq_frequency_get_table(0)) - return -EPROBE_DEFER; -#endif data = devm_kzalloc(&pdev->dev, sizeof(struct exynos_tmu_data), GFP_KERNEL); -- 2.20.1