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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux