drivers/rtc/rtc-omap.c: use BIT() macro
authorSekhar Nori <nsekhar@ti.com>
Fri, 6 Jun 2014 21:36:05 +0000 (14:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <nsekhar@ti.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-omap.c