]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: plat-samsung: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:07 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:07 +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>
arch/arm/plat-samsung/adc.c

index 46835263310114cf3f3bac22b295629ce81a6a20..e2be70df06c6506459c732596e6bffe18ff3f296 100644 (file)
@@ -505,7 +505,6 @@ static struct platform_driver s3c_adc_driver = {
        .id_table       = s3c_adc_driver_ids,
        .driver         = {
                .name   = "s3c-adc",
-               .owner  = THIS_MODULE,
                .pm     = &adc_pm_ops,
        },
        .probe          = s3c_adc_probe,