rtc: pcf8523: rename register and bit defines
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 10 Jul 2021 21:14:31 +0000 (23:14 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 10 Jul 2021 21:18:30 +0000 (23:18 +0200)
commit4aa90c036df670b8757140e0dae2a94e7b0d42b4
tree4fa8de13a42ca0a34ea716f5ff638266f281c7d8
parent2f8619846755176a6720c71d580ffd09394a74bc
rtc: pcf8523: rename register and bit defines

arch/arm/mach-ixp4xx/include/mach/platform.h now gets included indirectly
and defines REG_OFFSET. Rename the register and bit definition to something
specific to the driver.

Fixes: 7fd70c65faac ("ARM: irqstat: Get rid of duplicated declaration")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210710211431.1393589-1-alexandre.belloni@bootlin.com
drivers/rtc/rtc-pcf8523.c