From: Ezequiel Garcia Date: Thu, 26 Dec 2013 12:24:52 +0000 (-0300) Subject: usb: musb: Remove usb_disable() check in module_init() X-Git-Tag: v3.14-rc1~148^2~90^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89f836a8c56bfea6585a09f7afff7094968a4fd0;p=pandora-kernel.git usb: musb: Remove usb_disable() check in module_init() Removing the check to usb_disable() before registering the platform driver allows to build this driver when !USB && USB_GADGET, to be used in gadget-only mode. Also, use module_platform_driver() to register the platform driver. Signed-off-by: Ezequiel Garcia Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed