]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/rtc/rtc-max77686.c: fix indentation of bit definitions
authorJingoo Han <jg1.han@samsung.com>
Tue, 26 Mar 2013 23:25:14 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:34 +0000 (17:12 +1100)
Fix indentation of bit definitions to enhance the readability.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-max77686.c

index 36b1f5cc4f414e5a8a8919b1f4f0e439752921aa..9de93e72a18acbb41e4e65aa38dd440ea1f16d23 100644 (file)
@@ -24,7 +24,7 @@
 
 /* RTC Control Register */
 #define BCD_EN_SHIFT                   0
-#define BCD_EN_MASK                            (1 << BCD_EN_SHIFT)
+#define BCD_EN_MASK                    (1 << BCD_EN_SHIFT)
 #define MODEL24_SHIFT                  1
 #define MODEL24_MASK                   (1 << MODEL24_SHIFT)
 /* RTC Update Register1 */
 #define RTC_RBUDR_SHIFT                        4
 #define RTC_RBUDR_MASK                 (1 << RTC_RBUDR_SHIFT)
 /* WTSR and SMPL Register */
-#define WTSRT_SHIFT                            0
-#define SMPLT_SHIFT                            2
+#define WTSRT_SHIFT                    0
+#define SMPLT_SHIFT                    2
 #define WTSR_EN_SHIFT                  6
 #define SMPL_EN_SHIFT                  7
-#define WTSRT_MASK                             (3 << WTSRT_SHIFT)
-#define SMPLT_MASK                             (3 << SMPLT_SHIFT)
+#define WTSRT_MASK                     (3 << WTSRT_SHIFT)
+#define SMPLT_MASK                     (3 << SMPLT_SHIFT)
 #define WTSR_EN_MASK                   (1 << WTSR_EN_SHIFT)
 #define SMPL_EN_MASK                   (1 << SMPL_EN_SHIFT)
 /* RTC Hour register */