rtc: mxc: use of_device_get_match_data
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 17 Nov 2020 20:30:35 +0000 (21:30 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 17 Nov 2020 20:55:02 +0000 (21:55 +0100)
commitba7aa63000f26c5a2c87d5a716601499a02a3156
treeb286fc7ec3ba766f7add19537a0197cf0c355d31
parent42882a8a22a86513c8c8c6bc7e0822bb14791999
rtc: mxc: use of_device_get_match_data

Use of_device_get_match_data to simplify mxc_rtc_probe.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20201117203035.1280099-1-alexandre.belloni@bootlin.com
drivers/rtc/rtc-mxc.c