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

index 231d7e7b07110d9e219788810acf70d62f1e00c6..eade2742a937437480c885f8534a8f8be0a06604 100644 (file)
@@ -815,7 +815,6 @@ static struct platform_driver mxs_saif_driver = {
 
        .driver = {
                .name = "mxs-saif",
-               .owner = THIS_MODULE,
                .of_match_table = mxs_saif_dt_ids,
        },
 };
index 61822cc53bd3e9b53b63042dd6ea986b681a7d1b..7515cd434e21d3d36140d6456a63c4fbf57736e2 100644 (file)
@@ -194,7 +194,6 @@ MODULE_DEVICE_TABLE(of, mxs_sgtl5000_dt_ids);
 static struct platform_driver mxs_sgtl5000_audio_driver = {
        .driver = {
                .name = "mxs-sgtl5000",
-               .owner = THIS_MODULE,
                .of_match_table = mxs_sgtl5000_dt_ids,
        },
        .probe = mxs_sgtl5000_probe,