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

index 6058c1fd50708c9543a50cb6defa31d48b9cd59f..7752860f7230e2821ac906715c06007543e84499 100644 (file)
@@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, axi_i2s_of_match);
 static struct platform_driver axi_i2s_driver = {
        .driver = {
                .name = "axi-i2s",
-               .owner = THIS_MODULE,
                .of_match_table = axi_i2s_of_match,
        },
        .probe = axi_i2s_probe,
index 198e3a4640f6e6f8a0806c6db8cc3746cb2d5bef..d7259d412892c3e1c35dff7059253a77f13d0c46 100644 (file)
@@ -258,7 +258,6 @@ MODULE_DEVICE_TABLE(of, axi_spdif_of_match);
 static struct platform_driver axi_spdif_driver = {
        .driver = {
                .name = "axi-spdif",
-               .owner = THIS_MODULE,
                .of_match_table = axi_spdif_of_match,
        },
        .probe = axi_spdif_probe,