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

usb: host: ohci-omap3: Remove redundant use of of_match_ptr

'omap_ohci_dt_ids' is always compiled in. Hence use of
of_match_ptr is unnecessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sachin Kamat and committed by
Greg Kroah-Hartman
7a1cc240 a703d7e2

+1 -1
+1 -1
drivers/usb/host/ohci-omap3.c
··· 252 252 .shutdown = ohci_hcd_omap3_shutdown, 253 253 .driver = { 254 254 .name = "ohci-omap3", 255 - .of_match_table = of_match_ptr(omap_ohci_dt_ids), 255 + .of_match_table = omap_ohci_dt_ids, 256 256 }, 257 257 }; 258 258