]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
crypto: ccp: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:26 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:26 +0000 (16:20 +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/crypto/ccp/ccp-platform.c

index b0a2806908f1587e75947ac2b8f68523c5baeeb4..8c50bad25f7ed348696d25021274f569f65d9b83 100644 (file)
@@ -208,7 +208,6 @@ static const struct of_device_id ccp_platform_ids[] = {
 static struct platform_driver ccp_platform_driver = {
        .driver = {
                .name = "AMD Cryptographic Coprocessor",
-               .owner = THIS_MODULE,
                .of_match_table = ccp_platform_ids,
        },
        .probe = ccp_platform_probe,