]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite90a3a50c6fdf68bb1c131174bb9c45c312c7c19
treeb286fc7ec3ba766f7add19537a0197cf0c355d31
parent7e2249557c54c8f2c61490e17bf6f6567ea158b4
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