[PATCH 4/5] cpufreq: imx6q: Use id_table to distinguish between SoCs
Shawn Guo
shawnguo at kernel.org
Sun Dec 13 17:30:31 PST 2015
On Wed, Oct 28, 2015 at 08:59:13AM +0100, Sascha Hauer wrote:
> The i.MX6 cpufreq driver is instantiated from a static device in
> architecture code and not from the device tree. These devices offer the
> id_table mechanism to distinguish between different types of devices.
> Use this mechanism rather than of_machine_is_compatible() as it scales
> better with increasing number of SoCs to check against.
>
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
Acked-by: Shawn Guo <shawnguo at kernel.org>
Sorry for my oversight on that Sascha was asking my ACK on this patch in
the cover letter. Only noticed that with Lucas' ping.
Shawn
More information about the linux-arm-kernel
mailing list