mips: lantiq: xway: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:08 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:08 +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/mips/lantiq/xway/dcdc.c
arch/mips/lantiq/xway/dma.c
arch/mips/lantiq/xway/gptu.c
arch/mips/lantiq/xway/xrx200_phy_fw.c

index 7688ac0f06d0143e9184e0f2651f67e768ac8fbb..ae8e930f5283c465a99e0d9441e48951153320c8 100644 (file)
@@ -46,7 +46,6 @@ static struct platform_driver dcdc_driver = {
        .probe = dcdc_probe,
        .driver = {
                .name = "dcdc-xrx200",
-               .owner = THIS_MODULE,
                .of_match_table = dcdc_match,
        },
 };
index 78a91fa41944d3e7daaa67014a307a382bf9ee0c..34a116e840d8ba4a4d1843be6d98b14ea1232143 100644 (file)
@@ -261,7 +261,6 @@ static struct platform_driver dma_driver = {
        .probe = ltq_dma_init,
        .driver = {
                .name = "dma-xway",
-               .owner = THIS_MODULE,
                .of_match_table = dma_match,
        },
 };
index 850821df924c32d069acbce03607b832c3a0c48b..f1492b2db017b18ef106ad7fccddfb76741a31c5 100644 (file)
@@ -193,7 +193,6 @@ static struct platform_driver dma_driver = {
        .probe = gptu_probe,
        .driver = {
                .name = "gptu-xway",
-               .owner = THIS_MODULE,
                .of_match_table = gptu_match,
        },
 };
index d4d9d31f152e403ae40a8246fbc2ba665a8521ee..e4ed004015c412b672ebb705275cc489e532ac98 100644 (file)
@@ -85,7 +85,6 @@ static struct platform_driver xway_phy_driver = {
        .probe = xway_phy_fw_probe,
        .driver = {
                .name = "phy-xrx200",
-               .owner = THIS_MODULE,
                .of_match_table = xway_phy_match,
        },
 };