[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3682335.fAt9xNcJFr@wuerfel>
Date: Wed, 09 Dec 2015 10:15:54 +0100
From: Arnd Bergmann <arnd@...db.de>
To: linux-arm-kernel@...ts.infradead.org
Cc: Lee Jones <lee.jones@...aro.org>, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, kernel@...inux.com,
linux-pm@...r.kernel.org, viresh.kumar@...aro.org,
rjw@...ysocki.net, ajitpal.singh@...com, maxime.coquelin@...com
Subject: Re: [PATCH v5 08/11] ARM: STi: Register CPUFreq device
On Tuesday 08 December 2015 14:32:01 Lee Jones wrote:
> @@ -161,3 +166,11 @@ struct smp_operations __initdata sti_smp_ops = {
> .smp_secondary_init = sti_secondary_init,
> .smp_boot_secondary = sti_boot_secondary,
> };
> +
> +/**
> + * CPUFreq Registration
> + */
> +void init_cpufreq(void)
> +{
> + platform_device_register_simple("sti-cpufreq", -1, NULL, 0);
> +}
>
Can you please do this under drivers/cpufreq somewhere?
I really don't want to any more of these in platform code. Requiring a
device to be created just to probe the driver is really silly.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists