1 Oct 2011 17:31
Re: [PATCH 2/2] ARM: Switch to using CLKDEV_INIT macro for creating clk_lookup instance
Russell King - ARM Linux <linux <at> arm.linux.org.uk>
2011-10-01 15:31:24 GMT
2011-10-01 15:31:24 GMT
On Fri, Sep 30, 2011 at 01:26:33PM +0200, Hans J. Koch wrote: > On Fri, Sep 30, 2011 at 04:41:37PM +0530, Padmavathi Venna wrote: > > Replace platform specific macros that creates struct clk_lookup > > instance with the new common CLKDEV_INIT macro > > Well, for mach-tcc8k, it only saves 7 lines, but it's surely a good idea to > have one common macro for all arm subarchs. The savings are of course likely to be small, but it had two advantages: 1. We're not having one initializer per platform or SoC 2. We have something common which can be grepped for, or sed'd (or whatever your favourite in-place editing program) should it need to be changed.
RSS Feed