]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: CLEANUP: Remove ARCH_OMAPx ifdef from struct dpll_data
authorKevin Hilman <khilman@ti.com>
Mon, 18 Jun 2012 22:17:44 +0000 (16:17 -0600)
committerPaul Walmsley <paul@pwsan.com>
Mon, 18 Jun 2012 22:17:44 +0000 (16:17 -0600)
commita84f872ae433abd78613c2407bd0ec9b2b403dc8
tree5f2941a9b2f969652b5d30a16eb08b47d153e9e2
parent5ab1957f53a60ff3aa128f8a2f2ca9c7de85d169
ARM: OMAP2+: CLEANUP: Remove ARCH_OMAPx ifdef from struct dpll_data

There are certain fields inside 'struct dpll_data' which are
included under ARCH_OMAP3 and ARCH_OMAP4 option, which makes it
difficult to use it for new devices like, am33xx, ti81xx, etc...

So remove the ifdef completely, this will add few fields to the struct
unused, but it improves readability and maintainability of the code.

Signed-off-by: Kevin Hilman <khilman@ti.com>
[hvaibhav@ti.com: wrote detailed changelog]
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: R Sricharan <r.sricharan@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/include/plat/clock.h