summary refs log tree commit diff
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:50 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:50 +0200
commit59a9e07b0b1eca239e060a8111e09e4057453192 (patch)
treea8f341a2149ba99670633a3a83aff9547f12f1c0
parent45c74c06550b939c4e57c8f8c72e066256356c35 (diff)
downloadlinux-59a9e07b0b1eca239e060a8111e09e4057453192.tar.gz
usb: musb: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r--drivers/usb/musb/musb_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index b841ee0bff06..4d81bb9d11db 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -2362,7 +2362,6 @@ static struct platform_driver musb_driver = {
 	.driver = {
 		.name		= (char *)musb_driver_name,
 		.bus		= &platform_bus_type,
-		.owner		= THIS_MODULE,
 		.pm		= MUSB_DEV_PM_OPS,
 	},
 	.probe		= musb_probe,