OSDN Git Service

media: platform: soc_camera: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:49 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:49 +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/soc_camera/atmel-isi.c
drivers/media/platform/soc_camera/mx3_camera.c
drivers/media/platform/soc_camera/rcar_vin.c
drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c
drivers/media/platform/soc_camera/sh_mobile_csi2.c
drivers/media/platform/soc_camera/soc_camera.c
drivers/media/platform/soc_camera/soc_camera_platform.c

index c5291b0..19b27d8 100644 (file)
@@ -1068,7 +1068,6 @@ static struct platform_driver atmel_isi_driver = {
        .remove         = atmel_isi_remove,
        .driver         = {
                .name = "atmel_isi",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(atmel_isi_of_match),
        },
 };
index 7696a87..db65e57 100644 (file)
@@ -1253,7 +1253,6 @@ static int mx3_camera_remove(struct platform_device *pdev)
 static struct platform_driver mx3_camera_driver = {
        .driver         = {
                .name   = MX3_CAM_DRV_NAME,
-               .owner  = THIS_MODULE,
        },
        .probe          = mx3_camera_probe,
        .remove         = mx3_camera_remove,
index 20defcb..fa592a6 100644 (file)
@@ -1543,7 +1543,6 @@ static struct platform_driver rcar_vin_driver = {
        .remove         = rcar_vin_remove,
        .driver         = {
                .name           = DRV_NAME,
-               .owner          = THIS_MODULE,
                .of_match_table = of_match_ptr(rcar_vin_of_table),
        },
        .id_table       = rcar_vin_id_table,
index 20ad4a5..412b74d 100644 (file)
@@ -2009,7 +2009,6 @@ MODULE_DEVICE_TABLE(of, sh_mobile_ceu_of_match);
 static struct platform_driver sh_mobile_ceu_driver = {
        .driver         = {
                .name   = "sh_mobile_ceu",
-               .owner  = THIS_MODULE,
                .pm     = &sh_mobile_ceu_dev_pm_ops,
                .of_match_table = sh_mobile_ceu_of_match,
        },
index 05dd21a..f4a81ba 100644 (file)
@@ -391,7 +391,6 @@ static struct platform_driver __refdata sh_csi2_pdrv = {
        .probe  = sh_csi2_probe,
        .driver = {
                .name   = "sh-mobile-csi2",
-               .owner  = THIS_MODULE,
        },
 };
 
index 8e61b97..4843df0 100644 (file)
@@ -2236,7 +2236,6 @@ static struct platform_driver __refdata soc_camera_pdrv = {
        .remove  = soc_camera_pdrv_remove,
        .driver  = {
                .name   = "soc-camera-pdrv",
-               .owner  = THIS_MODULE,
        },
 };
 
index ceaddfb..22bd829 100644 (file)
@@ -180,7 +180,6 @@ static int soc_camera_platform_remove(struct platform_device *pdev)
 static struct platform_driver soc_camera_platform_driver = {
        .driver         = {
                .name   = "soc_camera_platform",
-               .owner  = THIS_MODULE,
        },
        .probe          = soc_camera_platform_probe,
        .remove         = soc_camera_platform_remove,