mfd: omap-usb-host: Fix dts probe of children

It currently only works if the parent bus uses "simple-bus". We
currently try to probe children with non-existing compatible values.
And we're missing .probe.

I noticed this while testing devices configured to probe using ti-sysc
interconnect target module driver. For that we also may want to rebind
the driver, so let's remove __init and __exit.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by Tony Lindgren and committed by Lee Jones 10492ee8 a318c243

Changed files
+6 -5
drivers
+6 -5
drivers/mfd/omap-usb-host.c
··· 528 528 } 529 529 530 530 static const struct of_device_id usbhs_child_match_table[] = { 531 - { .compatible = "ti,omap-ehci", }, 532 - { .compatible = "ti,omap-ohci", }, 531 + { .compatible = "ti,ehci-omap", }, 532 + { .compatible = "ti,ohci-omap3", }, 533 533 { } 534 534 }; 535 535 ··· 855 855 .pm = &usbhsomap_dev_pm_ops, 856 856 .of_match_table = usbhs_omap_dt_ids, 857 857 }, 858 + .probe = usbhs_omap_probe, 858 859 .remove = usbhs_omap_remove, 859 860 }; 860 861 ··· 865 864 MODULE_LICENSE("GPL v2"); 866 865 MODULE_DESCRIPTION("usb host common core driver for omap EHCI and OHCI"); 867 866 868 - static int __init omap_usbhs_drvinit(void) 867 + static int omap_usbhs_drvinit(void) 869 868 { 870 - return platform_driver_probe(&usbhs_omap_driver, usbhs_omap_probe); 869 + return platform_driver_register(&usbhs_omap_driver); 871 870 } 872 871 873 872 /* ··· 879 878 */ 880 879 fs_initcall_sync(omap_usbhs_drvinit); 881 880 882 - static void __exit omap_usbhs_drvexit(void) 881 + static void omap_usbhs_drvexit(void) 883 882 { 884 883 platform_driver_unregister(&usbhs_omap_driver); 885 884 }