]> git.karo-electronics.de Git - linux-beck.git/commitdiff
powerpc: kernel: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:10 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:10 +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>
arch/powerpc/kernel/of_platform.c

index f87bc1b4bdda60c6bf68a966eb8496e9498da8b7..2f35a72642c63a1d999ae6a1a2cd4358e1804d24 100644 (file)
@@ -110,7 +110,6 @@ static struct platform_driver of_pci_phb_driver = {
        .probe = of_pci_phb_probe,
        .driver = {
                .name = "of-pci",
-               .owner = THIS_MODULE,
                .of_match_table = of_pci_phb_ids,
        },
 };