Эх сурвалжийг харах

media: platform: exynos4-is: drop owner assignment from platform_drivers

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>
Wolfram Sang 11 жил өмнө
parent
commit
73239ad1ab

+ 0 - 1
drivers/media/platform/exynos4-is/fimc-core.c

@@ -1292,7 +1292,6 @@ static struct platform_driver fimc_driver = {
 	.driver = {
 	.driver = {
 		.of_match_table = fimc_of_match,
 		.of_match_table = fimc_of_match,
 		.name		= FIMC_DRIVER_NAME,
 		.name		= FIMC_DRIVER_NAME,
-		.owner		= THIS_MODULE,
 		.pm     	= &fimc_pm_ops,
 		.pm     	= &fimc_pm_ops,
 	}
 	}
 };
 };

+ 0 - 1
drivers/media/platform/exynos4-is/fimc-is-i2c.c

@@ -133,7 +133,6 @@ static struct platform_driver fimc_is_i2c_driver = {
 	.driver = {
 	.driver = {
 		.of_match_table = fimc_is_i2c_of_match,
 		.of_match_table = fimc_is_i2c_of_match,
 		.name		= "fimc-isp-i2c",
 		.name		= "fimc-isp-i2c",
-		.owner		= THIS_MODULE,
 		.pm		= &fimc_is_i2c_pm_ops,
 		.pm		= &fimc_is_i2c_pm_ops,
 	}
 	}
 };
 };

+ 0 - 1
drivers/media/platform/exynos4-is/fimc-is.c

@@ -962,7 +962,6 @@ static struct platform_driver fimc_is_driver = {
 	.driver = {
 	.driver = {
 		.of_match_table	= fimc_is_of_match,
 		.of_match_table	= fimc_is_of_match,
 		.name		= FIMC_IS_DRV_NAME,
 		.name		= FIMC_IS_DRV_NAME,
-		.owner		= THIS_MODULE,
 		.pm		= &fimc_is_pm_ops,
 		.pm		= &fimc_is_pm_ops,
 	}
 	}
 };
 };

+ 0 - 1
drivers/media/platform/exynos4-is/fimc-lite.c

@@ -1720,7 +1720,6 @@ static struct platform_driver fimc_lite_driver = {
 	.driver = {
 	.driver = {
 		.of_match_table = flite_of_match,
 		.of_match_table = flite_of_match,
 		.name		= FIMC_LITE_DRV_NAME,
 		.name		= FIMC_LITE_DRV_NAME,
-		.owner		= THIS_MODULE,
 		.pm		= &fimc_lite_pm_ops,
 		.pm		= &fimc_lite_pm_ops,
 	}
 	}
 };
 };

+ 0 - 1
drivers/media/platform/exynos4-is/media-dev.c

@@ -1469,7 +1469,6 @@ static struct platform_driver fimc_md_driver = {
 	.driver = {
 	.driver = {
 		.of_match_table = of_match_ptr(fimc_md_of_match),
 		.of_match_table = of_match_ptr(fimc_md_of_match),
 		.name		= "s5p-fimc-md",
 		.name		= "s5p-fimc-md",
-		.owner		= THIS_MODULE,
 	}
 	}
 };
 };
 
 

+ 0 - 1
drivers/media/platform/exynos4-is/mipi-csis.c

@@ -1041,7 +1041,6 @@ static struct platform_driver s5pcsis_driver = {
 	.driver		= {
 	.driver		= {
 		.of_match_table = s5pcsis_of_match,
 		.of_match_table = s5pcsis_of_match,
 		.name		= CSIS_DRIVER_NAME,
 		.name		= CSIS_DRIVER_NAME,
-		.owner		= THIS_MODULE,
 		.pm		= &s5pcsis_pm_ops,
 		.pm		= &s5pcsis_pm_ops,
 	},
 	},
 };
 };