]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
rtc: mt6397: improvements of rtc driver
authorJosef Friedl <josef.friedl@speed.at>
Tue, 10 Sep 2019 07:04:42 +0000 (09:04 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 24 Oct 2019 08:03:49 +0000 (09:03 +0100)
commit851b87148aa22ee8571380dfb22373afb7969140
treea14eb29f1dd54369ca85c3017892dd3b0b9e95d4
parentc512995ce9dc653111d782b130e600802da52b5f
rtc: mt6397: improvements of rtc driver

- use regmap_read_poll_timeout to drop while-loop
- use devm-api to drop remove-callback

Suggested-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Josef Friedl <josef.friedl@speed.at>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/rtc/rtc-mt6397.c