[PATCH 05/12] ARM: OMAP2+: Remove legacy PM init
Nishanth Menon
nm at ti.com
Tue Nov 26 17:13:53 EST 2013
On Mon, Nov 25, 2013 at 6:14 PM, Tony Lindgren <tony at atomide.com> wrote:
> This is no longer needed when booted with device tree.
[...]
> static inline void omap_init_cpufreq(void)
> {
> struct platform_device_info devinfo = { };
>
> - if (!of_have_populated_dt())
> - devinfo.name = "omap-cpufreq";
> - else
> - devinfo.name = "cpufreq-cpu0";
> + devinfo.name = "cpufreq-cpu0";
struct platform_device_info devinfo = { .name = "cpufreq-cpu0" };
otherwise, ok with the change.
Thanks and Regards,
Nishanth Menon
More information about the linux-arm-kernel
mailing list