]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-omap.c: use BIT() macro
authorSekhar Nori <nsekhar@ti.com>
Thu, 22 May 2014 00:43:53 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:53 +0000 (10:43 +1000)
commitb81778e4953ac1287f959f3f763e97a8bfbf2634
treeb5fa2c4bb937a13dcd9bcbb0a8edfcaec77867f0
parent7e534953b488c4f4bf27fa757988ca476565c65e
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>
drivers/rtc/rtc-omap.c