]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1fdf4cae1581500d2428aa4fd31d79b368ca0ae7
tree4fa8de13a42ca0a34ea716f5ff638266f281c7d8
parent33dfc636cb5f9d18d0d3451a1d0146d10f30f89f
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: de897cbfbfe5 ("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