]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: omap-usb-host: Fix dts probe of children
authorTony Lindgren <tony@atomide.com>
Wed, 25 Apr 2018 14:29:22 +0000 (07:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Oct 2018 07:16:21 +0000 (09:16 +0200)
commit5d53f0d897c37b41a5b8cabc2ebae3bf4ce12eae
tree330bfc20bbf3ec637fa5daf1bbed637e5be1eed7
parente3583d7b1bd9869c371aa1164a085e0966a86391
mfd: omap-usb-host: Fix dts probe of children

[ Upstream commit 10492ee8ed9188d6d420e1f79b2b9bdbc0624e65 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/omap-usb-host.c