[PATCH 1/4] ARM: SAMSUNG: cleanup of rtc register definitions
From: Russell King - ARM Linux <hidden>
Date: 2012-01-04 22:14:27
Also in:
linux-samsung-soc
From: Russell King - ARM Linux <hidden>
Date: 2012-01-04 22:14:27
Also in:
linux-samsung-soc
On Wed, Jan 04, 2012 at 03:15:44PM +0100, Heiko St?bner wrote:
regs-rtc.h uses a mixture of tabs and spaces and also (x<<y) to format bits. So, before adding new stuff clean up the formatting and also add spaces to the bit definitions (i.e. (x << y) )
Ok, so this is just a formatting change - and it should stay that way. However, there's an opportunity missed here. Are these register definitions used anywhere else other than in the drivers/rtc driver? If not, they should be placed along side that driver or even inside the driver itself.