Re: [PATCH 05/12] ARM: OMAP2+: Remove legacy PM init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 25, 2013 at 6:14 PM, Tony Lindgren <tony@xxxxxxxxxxx> 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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [CentOS ARM]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]     [Photos]