From: Dave Gerlach Date: Fri, 3 Feb 2017 17:29:29 +0000 (-0600) Subject: cpufreq: dt: Don't use generic platdev driver for ti-cpufreq platforms X-Git-Tag: v5.15~11702^2~1^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=051bd84bb45bc994b7d762467f60b3bd0c7aa6bc;p=platform%2Fkernel%2Flinux-starfive.git cpufreq: dt: Don't use generic platdev driver for ti-cpufreq platforms Some TI platforms, specifically those in the am33xx, am43xx, dra7xx, and am57xx families of SoCs can make use of the ti-cpufreq driver to selectively enable OPPs based on the exact configuration in use. The ti-cpufreq is given the responsibility of creating the cpufreq-dt platform device when the driver is in use so drop am33xx and dra7xx from the cpufreq-dt-platdev driver so it is not created twice. Acked-by: Viresh Kumar Signed-off-by: Dave Gerlach Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c index 7fcaf26..921b4a6 100644 --- a/drivers/cpufreq/cpufreq-dt-platdev.c +++ b/drivers/cpufreq/cpufreq-dt-platdev.c @@ -87,8 +87,6 @@ static const struct of_device_id machines[] __initconst = { { .compatible = "socionext,uniphier-ld11", }, { .compatible = "socionext,uniphier-ld20", }, - { .compatible = "ti,am33xx", }, - { .compatible = "ti,dra7", }, { .compatible = "ti,omap2", }, { .compatible = "ti,omap3", }, { .compatible = "ti,omap4", },