rtc: mt6397: move some common definitions into rtc.h
authorJosef Friedl <josef.friedl@speed.at>
Tue, 10 Sep 2019 07:04:41 +0000 (09:04 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 24 Oct 2019 08:03:43 +0000 (09:03 +0100)
commitc512995ce9dc653111d782b130e600802da52b5f
treead73d7e317639a6c100108a43a3acc7fdd6172df
parent82245b6e9106cbc4141e1bbfa81000ea7fe32ac6
rtc: mt6397: move some common definitions into rtc.h

move code to separate header-file to reuse definitions later
in poweroff-driver (drivers/power/reset/mt6323-poweroff.c)

Suggested-by: Frank Wunderlich <frank-w@public-files.de>
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
include/linux/mfd/mt6397/rtc.h [new file with mode: 0644]