OSDN Git Service

media: platform: s3c-camif: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:47 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:47 +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/s3c-camif/camif-core.c

index b385747..e7163ca 100644 (file)
@@ -652,7 +652,6 @@ static struct platform_driver s3c_camif_driver = {
        .id_table       = s3c_camif_driver_ids,
        .driver = {
                .name   = S3C_CAMIF_DRIVER_NAME,
-               .owner  = THIS_MODULE,
                .pm     = &s3c_camif_pm_ops,
        }
 };