ASoC: generic: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:08 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:08 +0000 (16:22 +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>
sound/soc/generic/simple-card.c

index d1b7293c133eaa456f9d7761f273ee2887251121..df77772e9dff55724426f02cf1e656a3a0ad0904 100644 (file)
@@ -590,7 +590,6 @@ MODULE_DEVICE_TABLE(of, asoc_simple_of_match);
 static struct platform_driver asoc_simple_card = {
        .driver = {
                .name = "asoc-simple-card",
-               .owner = THIS_MODULE,
                .of_match_table = asoc_simple_of_match,
        },
        .probe = asoc_simple_card_probe,