ARM: OMAP2+: hwmod data: convert to link registration
authorPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:04:31 +0000 (04:04 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:04:31 +0000 (04:04 -0600)
commit0a78c5c5963d3bb2119795f9442a3eeec3aebc1a
treed436c2f94c7c209d5daf095fd290cb7e7fa24f93
parent2221b5cddc2ebcfa4b0217266d2edc98e7eec93b
ARM: OMAP2+: hwmod data: convert to link registration

Register interconnect links between IP blocks, rather than the IP
blocks themselves.  (The IP blocks will be registered as a side-effect
of registering the links.)

The objective is to reduce the number of lines of static data and
facilitate the sharing of IP block data between different SoCs.  These
objectives come at the penalty of increased boot time due to increased
computation.

While here, fix a few whitespace problems and inaccurate variable names.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
arch/arm/mach-omap2/omap_hwmod_2420_data.c
arch/arm/mach-omap2/omap_hwmod_2430_data.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
arch/arm/mach-omap2/omap_hwmod_44xx_data.c