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

Configure Feed

Select the types of activity you want to include in your feed.

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

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

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@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
c0d6f0b4 7a1cc240

+1 -1
+1 -1
drivers/usb/host/ohci-spear.c
··· 230 230 .driver = { 231 231 .owner = THIS_MODULE, 232 232 .name = "spear-ohci", 233 - .of_match_table = of_match_ptr(spear_ohci_id_table), 233 + .of_match_table = spear_ohci_id_table, 234 234 }, 235 235 }; 236 236