Add a common macro for creating struct clk_lookup entries
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 2 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH V2 0/2] Add a common macro for creating struct clk_lookup entries
Quoted 31 lines · Rajeshwari Shinde
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.I have done the replacement by using python script. I have only build tested for below platforms with existing defconfigs.
Changes since V1:
- Removed "&" and "," from theCLKDEV_INITmacro.
- Replaced the platform specific macros to use the newCLKDEV_INITmacro.
- Rebased the patches on the latest master branch of Linux-Next.Rajeshwari Shinde (2):
ARM: CLKDEV: Add Common Macro forclk_lookup
ARM: UsingCLKDEV_INITfor creatingclk_lookupinstancearch/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 | 87 +++++++++--------- arch/arm/mach-davinci/dm365.c | 113 +++++++++++----------- arch/arm/mach-davinci/dm644x.c | 77 ++++++++-------- arch/arm/mach-davinci/dm646x.c | 81 ++++++++-------- arch/arm/mach-davinci/tnetv107x.c | 133 +++++++++++++------------- 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 | 79 +++++++--------- arch/arm/mach-imx/clock-imx27.c | 111 ++++++++++------------ arch/arm/mach-imx/clock-imx31.c | 103 ++++++++++-----------
Quoted 9 lines
arch/arm/mach-imx/clock-imx35.c | 117 +++++++++++------------ arch/arm/mach-lpc32xx/clock.c | 75 +++++++-------- arch/arm/mach-mx5/clock-mx51-mx53.c | 149 ++++++++++++++---------------- arch/arm/mach-mxs/clock-mx23.c | 39 +++----- arch/arm/mach-mxs/clock-mx28.c | 71 +++++++-------- arch/arm/mach-tcc8k/clock.c | 107 ++++++++++----------- include/linux/clkdev.h | 7 ++ 22 files changed, 838 insertions(+), 909 deletions(-)
Consider applying the macro to following files too.
CLKDEV_CON_DEV_IDarch/arm/mach-at91/at91cap9.carch/arm/mach-at91/at91rm9200.carch/arm/mach-at91/at91sam9260.carch/arm/mach-at91/at91sam9261.carch/arm/mach-at91/at91sam9263.carch/arm/mach-at91/at91sam9g45.carch/arm/mach-at91/at91sam9rl.carch/arm/mach-at91/clock.h
CLKDEV_CON_IDarch/arm/mach-at91/at91sam9g45.carch/arm/mach-at91/clock.harch/arm/mach-shmobile/clock-sh7367.carch/arm/mach-shmobile/clock-sh7372.carch/arm/mach-shmobile/clock-sh7377.carch/arm/mach-shmobile/clock-sh73a0.c
INIT_CLKREGarch/arm/mach-mmp/clock.harch/arm/mach-mmp/mmp2.carch/arm/mach-mmp/pxa168.carch/arm/mach-mmp/pxa910.carch/arm/mach-pxa/clock.harch/arm/mach-pxa/eseries.carch/arm/mach-pxa/pxa25x.carch/arm/mach-pxa/pxa27x.carch/arm/mach-pxa/pxa300.carch/arm/mach-pxa/pxa320.carch/arm/mach-pxa/pxa3xx.carch/arm/mach-pxa/pxa95x.c
DEF_LOOKUPDEF_LOOKUP_CONarch/arm/mach-u300/clock.c
DEF_CLKLOOKarch/arm/mach-nuc93x/clock.harch/arm/mach-nuc93x/cpu.carch/arm/mach-w90x900/clock.harch/arm/mach-w90x900/cpu.c
CLKarch/arm/mach-ux500/clock.carch/arm/mach-ux500/clock.h
Array unfolded:arch/arm/mach-bcmring/core.carch/arm/mach-integrator/core.carch/arm/mach-integrator/integrator_cp.carch/arm/mach-nomadik/clock.carch/arm/mach-prima2/clock.carch/arm/mach-realview/core.carch/arm/mach-versatile/core.carch/arm/mach-vexpress/ct-ca9x4.carch/arm/mach-vexpress/v2m.carch/arm/mach-spear3xx/clock.carch/arm/mach-spear6xx/clock.carch/arm/mach-pnx4008/clock.carch/arm/mach-tegra/tegra2_clocks.c
Signature · 1 line
Tushar Behera