usb: musb: sunxi: Add set_mode platform function
authorHans de Goede <hdegoede@redhat.com>
Tue, 31 May 2016 15:05:07 +0000 (10:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Jun 2016 21:58:59 +0000 (14:58 -0700)
commit37f30d887a41775066b78f8c0fa9a4929638db07
tree77c166e915c6ad9a949882e0a54149ccc9ab48bf
parentb6a6631dc322b1ca187752a77bc5f74155017ecb
usb: musb: sunxi: Add set_mode platform function

Move the mode handling to the platform_set_mode callback.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[b-liu@ti.com: revise subject prefix]
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/sunxi.c