From: Hyeonseong Gil Date: Fri, 24 Mar 2017 01:39:25 +0000 (+0900) Subject: [COMMON] thermal: samsung: Remove checking cpufreq X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=13028ce94b2e2e288c4bf1d34bbb9dda17c7a8fc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] thermal: samsung: Remove checking cpufreq To pull in init sequence of DTM, remove checking cpufreq Change-Id: Ibaad030b047e0632786019e735b6877a6ede85a0 Signed-off-by: Hyeonseong Gil --- 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);