Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: mxc: Remove unneeded of_match_ptr()

i.MX is a DT-only platform, so of_match_ptr() can be safely
removed.

Remove the unneeded of_match_ptr().

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210315235800.200137-1-festevam@gmail.com

authored by

Fabio Estevam and committed by
Alexandre Belloni
9346ff0b 198da7be

+1 -1
+1 -1
drivers/rtc/rtc-mxc.c
··· 415 415 static struct platform_driver mxc_rtc_driver = { 416 416 .driver = { 417 417 .name = "mxc_rtc", 418 - .of_match_table = of_match_ptr(imx_rtc_dt_ids), 418 + .of_match_table = imx_rtc_dt_ids, 419 419 }, 420 420 .probe = mxc_rtc_probe, 421 421 };