ALSA: sparc: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:16 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:16 +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/sparc/amd7930.c
sound/sparc/cs4231.c
sound/sparc/dbri.c

index 4a85e14334726e43f513a95a0e85e4fd4c5dd2cd..86280d63b76d66e3ed336f61484c7bc7a570abf9 100644 (file)
@@ -1067,7 +1067,6 @@ static const struct of_device_id amd7930_match[] = {
 static struct platform_driver amd7930_sbus_driver = {
        .driver = {
                .name = "audio",
-               .owner = THIS_MODULE,
                .of_match_table = amd7930_match,
        },
        .probe          = amd7930_sbus_probe,
index 4e91bcaa36649943b430058d434dff5310c88cc3..a3fcb592318b2da569db1553068571b0eea0b503 100644 (file)
@@ -2119,7 +2119,6 @@ MODULE_DEVICE_TABLE(of, cs4231_match);
 static struct platform_driver cs4231_driver = {
        .driver = {
                .name = "audio",
-               .owner = THIS_MODULE,
                .of_match_table = cs4231_match,
        },
        .probe          = cs4231_probe,
index b2c3d0d5dca3284f5a4aad26761a2650a88814e0..0190cb6332f2d9ff6570d2628442d402f8a1ab29 100644 (file)
@@ -2686,7 +2686,6 @@ MODULE_DEVICE_TABLE(of, dbri_match);
 static struct platform_driver dbri_sbus_driver = {
        .driver = {
                .name = "dbri",
-               .owner = THIS_MODULE,
                .of_match_table = dbri_match,
        },
        .probe          = dbri_probe,