RFC Shrink clock data utilizing preprocessor
Get series with b4
b4 am [email protected]Versions newest first
- v2 RFC 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 [PATCHv2 0/2] [RFC] Shrink clock data utilizing preprocessor
Hi Vladimir,
Quoted 7 lines · Vladimir Zapolskiy
This change shows a possibility to utilize C preprocessor to remove redundant data from clock definitions for OMAP4 architecture.
If the change is evaluated as a positive one, the same approach could be applied in reducing LOCs from other files, which contain monotonous data enumeration.
Quoted 6 lines
Vladimir Zapolskiy (2):
OMAP4: clock data: shrink clock data utilizing preprocessor.
OMAP4: clock data: shrink more clock data.arch/arm/mach-omap2/clock44xx_data.c | 3313 +++++++++------------------------- 1 files changed, 848 insertions(+), 2465 deletions(-)
While the diffstat shows a huge saving in loc I suggest to delay this until we have common clock code merged so that we don't have to completely rework these files again in the near future.
This has been said before, I just wanted to add my +1 on this opinion.
Sascha
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |