rtc: bd70528: Do not require parent data
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Mon, 5 Apr 2021 11:40:24 +0000 (14:40 +0300)
committerLee Jones <lee.jones@linaro.org>
Wed, 14 Apr 2021 09:17:45 +0000 (10:17 +0100)
commitf87c0d2e6c0c09d4e220ab3c17bf04dbadedf410
treee5d12cd69a6c041973550ab35495c3bbca68012f
parenta38fd8748464831584a19438cbb3082b5a2dab15
rtc: bd70528: Do not require parent data

The ROHM BD71828 and BD71815 RTC drivers only need the regmap
pointer from parent. Regmap can be obtained via dev_get_regmap()
so do not require parent to populate driver data for that.

BD70528 on the other hand requires parent data to access the
watchdog so leave the parent data for BD70528 here for now.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/rtc/rtc-bd70528.c