]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47807024019bcdf470e939d5e4bfa30828e26018
treee5d12cd69a6c041973550ab35495c3bbca68012f
parent219c9076286fd92026e818ab1375558e5b20649f
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