rtc: mxc: Remove unneeded of_match_ptr()
Subsystems (2)
Fabio Estevam
reviewerPATCH 1/1 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 <[email protected]>
--- drivers/rtc/rtc-mxc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-mxc.c +1 -1
@@ -415,7 +415,7 @@ static int mxc_rtc_probe(struct platform_device *pdev)static struct platform_driver mxc_rtc_driver = { .driver = { .name ="mxc_rtc" , - .of_match_table =of_match_ptr (imx_rtc_dt_ids), + .of_match_table = imx_rtc_dt_ids, }, .probe = mxc_rtc_probe, };
Signature · 1 line
2.25.1
Quoted 4 lines · Fabio Estevam
i.MX is a DT-only platform, so
of_match_ptr()can be safely removed.Remove the unneeded
of_match_ptr().
Applied, thanks!
[1/1] rtc: mxc: Remove unneeded of_match_ptr()
commit: 9346ff0bc6ff3c3a495d50a43b57df8fed7bc562
Best regards,
Signature · 1 line
Alexandre Belloni <[email protected]>