[media] dvb-frontends: Drop owner assignment from platform_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 06:19:43 +0000 (03:19 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 15:59:38 +0000 (12:59 -0300)
platform_driver does not need to set an owner because
platform_driver_register() will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/rtl2832_sdr.c

index 7edb885ae9c8689cdbc9009831ee28b78b58ee98..d5b994f176126f6cef2acaff6a4c7b69dffcd0d4 100644 (file)
@@ -1538,7 +1538,6 @@ static int rtl2832_sdr_remove(struct platform_device *pdev)
 static struct platform_driver rtl2832_sdr_driver = {
        .driver = {
                .name   = "rtl2832_sdr",
-               .owner  = THIS_MODULE,
        },
        .probe          = rtl2832_sdr_probe,
        .remove         = rtl2832_sdr_remove,