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

index a47502a330f0228015da923097d8e54db80af4af..71881a22d664898bc081548d006a06235fd54d7b 100644 (file)
@@ -236,7 +236,6 @@ static int radio_si4713_pdriver_remove(struct platform_device *pdev)
 static struct platform_driver radio_si4713_pdriver = {
        .driver         = {
                .name   = "radio-si4713",
-               .owner  = THIS_MODULE,
        },
        .probe          = radio_si4713_pdriver_probe,
        .remove         = radio_si4713_pdriver_remove,