summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/sysfs.c
diff options
context:
space:
mode:
authorZhang Jianhua <chris.zjh@huawei.com>2022-09-06 22:30:37 +0800
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2022-11-15 21:01:51 +0100
commit1ff56edf137a2f034fee9b9a398ddcd8cb7a5a34 (patch)
tree45205e2dec53c0969b89f055bd98adf349d9bdb7 /drivers/rtc/sysfs.c
parent97e78b64d138021c837a30bfa78201caf27c16b9 (diff)
downloadlinux-1ff56edf137a2f034fee9b9a398ddcd8cb7a5a34.tar.bz2
rtc: fsl-ftm-alarm: Use module_platform_driver replace device_initcall
The ftm_rtc_driver has been registered while module init, however there is not unregister step for module exit, now use the macro module_platform_driver replace device_initcall, which can register and unregister platform driver automatically. Signed-off-by: Zhang Jianhua <chris.zjh@huawei.com> Link: https://lore.kernel.org/r/20220906143037.1455317-1-chris.zjh@huawei.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/sysfs.c')
0 files changed, 0 insertions, 0 deletions