]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
media: platform: coda: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:45 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:45 +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/coda/coda-common.c

index ced47609f5efd20ac66d7851bc8438dee360e671..5faf7b6b502a6aea8185ad672be5f5dccedf5cdd 100644 (file)
@@ -2038,7 +2038,6 @@ static struct platform_driver coda_driver = {
        .remove = coda_remove,
        .driver = {
                .name   = CODA_NAME,
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(coda_dt_ids),
                .pm     = &coda_pm_ops,
        },