OSDN Git Service

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 a47502a..71881a2 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,