Re: [RFC PATCH v2 11/15] cpufreq: kirkwood-cpufreq: remove devicetree parsing for cpu nodes

From: Viresh Kumar
Date: Thu Jul 18 2013 - 03:53:49 EST


On 17 July 2013 20:13, Andrew Lunn <andrew@xxxxxxx> wrote:
> Are we not going a bit backwards here? You are replacing two lines
> with 10 lines.
>
> How about putting these 10 lines into some helper,
> of_get_cpu_device()? It would be useful for spear, kirkwood and
> imx6q, and maybe others.

+1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/