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 c5291b00105758b8452b0f9ef383780c794fbac7..19b27d88caeb3c1a957990aac2f8ecfd08794f66 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 7696a873510d831058c5cda89be13ca92faaa5ff..db65e577809494a5ee1bc89d9dc2861361736867 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 20defcb8b31b005fca81c2f4c0f4ad3b51ffd817..fa592a69a878ec5320db8e630331821557653320 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 20ad4a571d3739ad5a9312b957c9f902ff8a5efd..412b74dd2cddc2e4d8749746f4c5e61e6c7639e8 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 05dd21a35d63589667e1e532342cdad81f13ef2c..f4a81ba0908120fbaa9167eb28fc454f1a5d581c 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 8e61b976da19ed17fe09866eb3efd7d6544a02bd..4843df0095a93962090a5b90836e31eae3326629 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 ceaddfb85e492f6551a4c12fab5565c3f5f28e33..22bd8290c09719a12bf60edafe8e6ec6c8356b8e 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,