linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2]: Add a common macro for creating struct clk_lookup entries
@ 2011-09-30 11:11 Padmavathi Venna
  2011-09-30 11:11 ` [PATCH 1/2] ARM: CLKDEV: Add Common Macro for clk_lookup Padmavathi Venna
  2011-09-30 11:11 ` [PATCH 2/2] ARM: Switch to using CLKDEV_INIT macro for creating clk_lookup instance Padmavathi Venna
  0 siblings, 2 replies; 13+ messages in thread
From: Padmavathi Venna @ 2011-09-30 11:11 UTC (permalink / raw)
  To: linux-arm-kernel

This patchset consolidates the macro that creates 'struct clk_lookup'
entries by introducing a common macro 'CLKDEV_INIT' as suggested by
Russell King. Few of the platforms have been modified to use this new macro.

For Davinci, the last entry in the clk_lookup array is modified such
that the NULL entry is created without using the macro in order to
avoid a compilation issue when passing NULL as the third parameter
to CLKDEV_INIT macro.

I have done the replacement by using python script. I have only build tested
for below platforms with existing defconfigs.


Padmavathi Venna (2):
  ARM: CLKDEV: Add Common Macro for clk_lookup
  ARM: Switch to using CLKDEV_INIT macro for creating clk_lookup instance

 arch/arm/mach-davinci/board-dm646x-evm.c |    5 +-
 arch/arm/mach-davinci/clock.h            |    7 --
 arch/arm/mach-davinci/da830.c            |  101 +++++++++++----------
 arch/arm/mach-davinci/da850.c            |   95 ++++++++++----------
 arch/arm/mach-davinci/dm355.c            |   86 +++++++++---------
 arch/arm/mach-davinci/dm365.c            |  112 ++++++++++++------------
 arch/arm/mach-davinci/dm644x.c           |   77 ++++++++--------
 arch/arm/mach-davinci/dm646x.c           |   81 +++++++++--------
 arch/arm/mach-davinci/tnetv107x.c        |  134 ++++++++++++++--------------
 arch/arm/mach-ep93xx/clock.c             |   61 ++++++-------
 arch/arm/mach-imx/clock-imx1.c           |   38 ++++-----
 arch/arm/mach-imx/clock-imx21.c          |   91 +++++++++----------
 arch/arm/mach-imx/clock-imx25.c          |   77 +++++++---------
 arch/arm/mach-imx/clock-imx27.c          |  111 +++++++++++------------
 arch/arm/mach-imx/clock-imx31.c          |  103 ++++++++++-----------
 arch/arm/mach-imx/clock-imx35.c          |  117 +++++++++++-------------
 arch/arm/mach-lpc32xx/clock.c            |   75 +++++++---------
 arch/arm/mach-mx5/clock-mx51-mx53.c      |  145 ++++++++++++++----------------
 arch/arm/mach-mxs/clock-mx23.c           |   39 ++++-----
 arch/arm/mach-mxs/clock-mx28.c           |   67 ++++++--------
 arch/arm/mach-tcc8k/clock.c              |  107 ++++++++++------------
 include/linux/clkdev.h                   |    7 ++
 22 files changed, 832 insertions(+), 904 deletions(-)

-- 
1.7.4.4

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-10-04  5:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-30 11:11 [PATCH 0/2]: Add a common macro for creating struct clk_lookup entries Padmavathi Venna
2011-09-30 11:11 ` [PATCH 1/2] ARM: CLKDEV: Add Common Macro for clk_lookup Padmavathi Venna
2011-09-30 17:03   ` H Hartley Sweeten
2011-09-30 17:17   ` H Hartley Sweeten
2011-10-01 15:29   ` Russell King - ARM Linux
2011-10-04  5:20     ` padma venkat
2011-09-30 11:11 ` [PATCH 2/2] ARM: Switch to using CLKDEV_INIT macro for creating clk_lookup instance Padmavathi Venna
2011-09-30 11:26   ` Hans J. Koch
2011-10-01 15:31     ` Russell King - ARM Linux
2011-09-30 12:35   ` Ryan Mallon
2011-09-30 17:08     ` H Hartley Sweeten
2011-09-30 12:41   ` Amit Kucheria
2011-09-30 17:03   ` H Hartley Sweeten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).