]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit55793d2725873d83e98e9618de666739dab32f06
tree9ab63719d84187023bc296b2123d719a9ae17f9c
parentcc7e84cbe5b9c2db8c62d97a09c9f28b4729bca1
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