usb: musb: omap2430: Don't use omap_get_control_dev()
authorRoger Quadros <rogerq@ti.com>
Thu, 3 Oct 2013 15:12:34 +0000 (18:12 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Oct 2013 22:47:31 +0000 (15:47 -0700)
commit8934d3e4d0e7aed1bd067529c667984d7929d92d
tree9ab63719d84187023bc296b2123d719a9ae17f9c
parent918ee0d21ba451634788d04930f09f2c76492e18
usb: musb: omap2430: Don't use omap_get_control_dev()

omap_get_control_dev() is being deprecated as it doesn't support
multiple instances. As control device is present only from OMAP4
onwards which supports DT only, we use phandles to get the
reference to the control device.

Also get rid of "ti,has-mailbox" property as it is redundant and
we can determine that from whether "ctrl-module" property is present
or not. Get rid of has_mailbox from musb_hdrc_platform_data as well.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/omap-usb.txt
drivers/usb/musb/omap2430.c
include/linux/usb/musb.h