OSDN Git Service

dma: ppc4xx: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:29 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:29 +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/dma/ppc4xx/adma.c

index ce7a8d7..fa764a3 100644 (file)
@@ -4579,7 +4579,6 @@ static struct platform_driver ppc440spe_adma_driver = {
        .remove = ppc440spe_adma_remove,
        .driver = {
                .name = "PPC440SP(E)-ADMA",
-               .owner = THIS_MODULE,
                .of_match_table = ppc440spe_adma_of_match,
        },
 };