]> git.karo-electronics.de Git - linux-beck.git/commitdiff
memory: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:52 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:52 +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/memory/atmel-sdramc.c
drivers/memory/fsl-corenet-cf.c
drivers/memory/mvebu-devbus.c
drivers/memory/tegra20-mc.c
drivers/memory/tegra30-mc.c
drivers/memory/ti-aemif.c

index fed04e8efe75cf394cadc1bfde860b6e2ff5783d..a3ebc8a8747939e9ac322fb7841b551eecabf27d 100644 (file)
@@ -82,7 +82,6 @@ static struct platform_driver atmel_ramc_driver = {
        .probe          = atmel_ramc_probe,
        .driver         = {
                .name   = "atmel-ramc",
-               .owner  = THIS_MODULE,
                .of_match_table = atmel_ramc_of_match,
        },
 };
index c9443fc136db72ef431174c2443ca9b9269bb206..fc7ab5a3561e708f24d448209df8d8b980ed6f53 100644 (file)
@@ -237,7 +237,6 @@ static int ccf_remove(struct platform_device *pdev)
 static struct platform_driver ccf_driver = {
        .driver = {
                .name = KBUILD_MODNAME,
-               .owner = THIS_MODULE,
                .of_match_table = ccf_matches,
        },
        .probe = ccf_probe,
index ff7138fd66d14378ff2adef5f6d1a4901be994b5..24852812fd44fce5f70f1bcb35d409be77a66e7d 100644 (file)
@@ -346,7 +346,6 @@ static struct platform_driver mvebu_devbus_driver = {
        .probe          = mvebu_devbus_probe,
        .driver         = {
                .name   = "mvebu-devbus",
-               .owner  = THIS_MODULE,
                .of_match_table = mvebu_devbus_of_match,
        },
 };
index 7cd82b874abdb90becc2a90b49dd9fb9109522ae..cc309a05289adb0d6f281f146f914200a7f9f1e7 100644 (file)
@@ -243,7 +243,6 @@ static struct platform_driver tegra20_mc_driver = {
        .probe = tegra20_mc_probe,
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = tegra20_mc_of_match,
        },
 };
index ef7934535fd1cb2d52cadc3c19fdc48e507a4157..b3d59f88c278916403ccf85ef7a388c960acc7fe 100644 (file)
@@ -365,7 +365,6 @@ static struct platform_driver tegra30_mc_driver = {
        .probe = tegra30_mc_probe,
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = tegra30_mc_of_match,
                .pm = &tegra30_mc_pm,
        },
index d3df7602f40666fffcd6bd6e5aad67b37985d837..ca7d97a9a9bad03eb56d48e3dbfe959c28eeddee 100644 (file)
@@ -413,7 +413,6 @@ static struct platform_driver aemif_driver = {
        .remove = aemif_remove,
        .driver = {
                .name = KBUILD_MODNAME,
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(aemif_of_match),
        },
 };