rtc: imxdi: Convert to a DT-only driver
Subsystems (2)
Fabio Estevam
reviewerPATCH 1/1 rtc: imxdi: Convert to a DT-only driver
i.MX has been converted to a DT-only platform, so make the driver depend on OF, remove the CONFIG_OF ifdefery and remove of_match_ptr().
Signed-off-by Fabio Estevam <[email protected]>
--- drivers/rtc/Kconfig | 1 + drivers/rtc/rtc-imxdi.c | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-)
drivers/rtc/Kconfig +1 -0
@@ -1339,6 +1339,7 @@ config RTC_DRV_DIGICOLOR config RTC_DRV_IMXDI tristate "Freescale IMX DryIce Real Time Clock" depends on ARCH_MXC + depends on OF help Support for Freescale IMX DryIce RTC
drivers/rtc/rtc-imxdi.c +1 -3
@@ -840,19 +840,17 @@ static int __exit dryice_rtc_remove(struct platform_device *pdev)return 0 ; } -#ifdef CONFIG_OF static const struct of_device_id dryice_dt_ids[] = { { .compatible ="fsl,imx25-rtc" }, {/* sentinel */ } };MODULE_DEVICE_TABLE (of, dryice_dt_ids); -#endif static struct platform_driver dryice_rtc_driver = { .driver = { .name ="imxdi_rtc" , - .of_match_table =of_match_ptr (dryice_dt_ids), + .of_match_table = dryice_dt_ids, }, .remove =__exit_p (dryice_rtc_remove), };
Signature · 1 line
2.25.1
Quoted 2 lines · Fabio Estevam
i.MX has been converted to a DT-only platform, so make the driver depend on OF, remove the
CONFIG_OFifdefery and removeof_match_ptr().
Applied, thanks!
[1/1] rtc: imxdi: Convert to a DT-only driver
commit: 198da7be18c47637d69cdab1f65581b04ebd759d
Best regards,
Signature · 1 line
Alexandre Belloni <[email protected]>