mailbox: Drop owner assignment from platform_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 06:01:10 +0000 (15:01 +0900)
committerJassi Brar <jaswinder.singh@linaro.org>
Wed, 5 Aug 2015 11:50:53 +0000 (17:20 +0530)
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>
Acked-by: Lee Jones <lee@kernel.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/bcm2835-mailbox.c

index 0b47dd42f3bdbd37fab111bc726e0de3464b31f3..cfb4b4496dd9f61362dea012176c146120fada07 100644 (file)
@@ -204,7 +204,6 @@ MODULE_DEVICE_TABLE(of, bcm2835_mbox_of_match);
 static struct platform_driver bcm2835_mbox_driver = {
        .driver = {
                .name = "bcm2835-mbox",
-               .owner = THIS_MODULE,
                .of_match_table = bcm2835_mbox_of_match,
        },
        .probe          = bcm2835_mbox_probe,