usb: musb: jz4740: Unconditionally depend on devicetree
authorPaul Cercueil <paul@crapouillou.net>
Mon, 16 Mar 2020 21:11:33 +0000 (16:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Mar 2020 19:03:27 +0000 (20:03 +0100)
commitc12aa5bec67c059c4648309c63aa042381656142
tree98cb0376eab2c9cf7afbf56c3c7aa6cb78350e30
parent5004eaa28eff6386091aa84ba392b4b8dc4ee067
usb: musb: jz4740: Unconditionally depend on devicetree

The jz4740-musb driver is unconditionally probed from devicetree, so we
can add a hard dependency on devicetree. This makes the code a bit
cleaner, and is more future-proof as the platform data is now retrieved
using of_device_get_match_data().

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Bin Liu <b-liu@ti.com>
Link: https://lore.kernel.org/r/20200316211136.2274-6-b-liu@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/Kconfig
drivers/usb/musb/jz4740.c