drivers/rtc/rtc-omap.c: use BIT() macro
authorSekhar Nori <[email protected]>
Fri, 6 Jun 2014 21:36:05 +0000 (14:36 -0700)
committerLinus Torvalds <[email protected]>
Fri, 6 Jun 2014 23:08:08 +0000 (16:08 -0700)
commit92adb96aa4fcb460c6b174384cc74418e3d95cda
tree8788598840b9aceccede6da4158ce7ac7cd43b8e
parent337b600f898583b50b67e0bbff0667db2393d614
drivers/rtc/rtc-omap.c: use BIT() macro

Use BIT() macro for RTC_HAS_<FEATURE> defines instead of hand-writing
bit masks.

Use BIT() macros for register bit field definitions.

While at it, fix indentation done using spaces.

No functional change in this patch.

Signed-off-by: Sekhar Nori <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Lokesh Vutla <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-omap.c