]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
media: platform: exynos4-is: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:46 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:46 +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/media/platform/exynos4-is/fimc-core.c
drivers/media/platform/exynos4-is/fimc-is-i2c.c
drivers/media/platform/exynos4-is/fimc-is.c
drivers/media/platform/exynos4-is/fimc-lite.c
drivers/media/platform/exynos4-is/media-dev.c
drivers/media/platform/exynos4-is/mipi-csis.c

index b70fd996d7946e5a1761fc684362972b4f5899c6..cae23f457d164b8d4193c1caa4d14e30b403b25c 100644 (file)
@@ -1292,7 +1292,6 @@ static struct platform_driver fimc_driver = {
        .driver = {
                .of_match_table = fimc_of_match,
                .name           = FIMC_DRIVER_NAME,
-               .owner          = THIS_MODULE,
                .pm             = &fimc_pm_ops,
        }
 };
index 371cad4fcce990b2e9d190b1715a6940d12e9897..25e635c9a0f40cb52f13aa8e0947200eee829b0e 100644 (file)
@@ -133,7 +133,6 @@ static struct platform_driver fimc_is_i2c_driver = {
        .driver = {
                .of_match_table = fimc_is_i2c_of_match,
                .name           = "fimc-isp-i2c",
-               .owner          = THIS_MODULE,
                .pm             = &fimc_is_i2c_pm_ops,
        }
 };
index 22162b2567dae446947dce4e7193cff9cfbb0940..94c6b47d9717d81b6cd438819569521e1805d6d1 100644 (file)
@@ -962,7 +962,6 @@ static struct platform_driver fimc_is_driver = {
        .driver = {
                .of_match_table = fimc_is_of_match,
                .name           = FIMC_IS_DRV_NAME,
-               .owner          = THIS_MODULE,
                .pm             = &fimc_is_pm_ops,
        }
 };
index a97d2352f1d7a4a83b1b957f1d23ff1bb5e05f47..65a58cd432a3f93cac4204f81c604c4174be4e81 100644 (file)
@@ -1720,7 +1720,6 @@ static struct platform_driver fimc_lite_driver = {
        .driver = {
                .of_match_table = flite_of_match,
                .name           = FIMC_LITE_DRV_NAME,
-               .owner          = THIS_MODULE,
                .pm             = &fimc_lite_pm_ops,
        }
 };
index 54c49d5e769021fa4036b2efe5dd02b9805ada5c..f315ef946cd423b776f1c559f78839dd13144009 100644 (file)
@@ -1469,7 +1469,6 @@ static struct platform_driver fimc_md_driver = {
        .driver = {
                .of_match_table = of_match_ptr(fimc_md_of_match),
                .name           = "s5p-fimc-md",
-               .owner          = THIS_MODULE,
        }
 };
 
index db6fd14d19366b6a43f89bc363a7586783dd55f7..53a7415f17fb9837e090d4a9c1f46f740f9851fb 100644 (file)
@@ -1041,7 +1041,6 @@ static struct platform_driver s5pcsis_driver = {
        .driver         = {
                .of_match_table = s5pcsis_of_match,
                .name           = CSIS_DRIVER_NAME,
-               .owner          = THIS_MODULE,
                .pm             = &s5pcsis_pm_ops,
        },
 };