rtc: omap: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Mon, 9 Oct 2023 21:13:42 +0000 (16:13 -0500)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 15 Oct 2023 20:38:50 +0000 (22:38 +0200)
commit3c8bdc20a44fd0126e331e0623e7daf00d186135
tree5be48ffe5e7eaeba80dd0964fe5996246279ddba
parent2be36c09b6b07306be33519e1aa70d2e2a2161bb
rtc: omap: Use device_get_match_data()

Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data. With this, adjust the includes to explicitly
include the correct headers.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231009211356.3242037-12-robh@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-omap.c