aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-max77686.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-04-29 19:18:31 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 21:28:22 -0400
commitac60bf31210f7b388ea2c1de62ef573a45f49a0f (patch)
tree0ddb4161cb3309dc86609d383897e7a947ee561c /drivers/rtc/rtc-max77686.c
parent0f64f853fc622a0b0c7ab255f8605ae40aa45d84 (diff)
drivers/rtc/rtc-max77686.c: fix indentation of bit definitions
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-max77686.c')
-rw-r--r--drivers/rtc/rtc-max77686.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c
index 36b1f5cc4f41..9de93e72a18a 100644
--- a/drivers/rtc/rtc-max77686.c
+++ b/drivers/rtc/rtc-max77686.c
@@ -24,7 +24,7 @@
24 24
25/* RTC Control Register */ 25/* RTC Control Register */
26#define BCD_EN_SHIFT 0 26#define BCD_EN_SHIFT 0
27#define BCD_EN_MASK (1 << BCD_EN_SHIFT) 27#define BCD_EN_MASK (1 << BCD_EN_SHIFT)
28#define MODEL24_SHIFT 1 28#define MODEL24_SHIFT 1
29#define MODEL24_MASK (1 << MODEL24_SHIFT) 29#define MODEL24_MASK (1 << MODEL24_SHIFT)
30/* RTC Update Register1 */ 30/* RTC Update Register1 */
@@ -33,12 +33,12 @@
33#define RTC_RBUDR_SHIFT 4 33#define RTC_RBUDR_SHIFT 4
34#define RTC_RBUDR_MASK (1 << RTC_RBUDR_SHIFT) 34#define RTC_RBUDR_MASK (1 << RTC_RBUDR_SHIFT)
35/* WTSR and SMPL Register */ 35/* WTSR and SMPL Register */
36#define WTSRT_SHIFT 0 36#define WTSRT_SHIFT 0
37#define SMPLT_SHIFT 2 37#define SMPLT_SHIFT 2
38#define WTSR_EN_SHIFT 6 38#define WTSR_EN_SHIFT 6
39#define SMPL_EN_SHIFT 7 39#define SMPL_EN_SHIFT 7
40#define WTSRT_MASK (3 << WTSRT_SHIFT) 40#define WTSRT_MASK (3 << WTSRT_SHIFT)
41#define SMPLT_MASK (3 << SMPLT_SHIFT) 41#define SMPLT_MASK (3 << SMPLT_SHIFT)
42#define WTSR_EN_MASK (1 << WTSR_EN_SHIFT) 42#define WTSR_EN_MASK (1 << WTSR_EN_SHIFT)
43#define SMPL_EN_MASK (1 << SMPL_EN_SHIFT) 43#define SMPL_EN_MASK (1 << SMPL_EN_SHIFT)
44/* RTC Hour register */ 44/* RTC Hour register */