]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: octeon-usb: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:41 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:41 +0000 (16:21 +0200)
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>
drivers/staging/octeon-usb/octeon-hcd.c

index 5f9db4cbb38170064a3f269d87a1975f67a70b8f..2f8eaf768bf3a8ca58cb5f6b5f7edc09129b4a41 100644 (file)
@@ -3882,7 +3882,6 @@ static struct of_device_id octeon_usb_match[] = {
 static struct platform_driver octeon_usb_driver = {
        .driver = {
                .name       = "OcteonUSB",
-               .owner          = THIS_MODULE,
                .of_match_table = octeon_usb_match,
        },
        .probe      = octeon_usb_probe,