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

index b3b66aa98dce7d8b3f6844eb9f65a7d59a728cd8..2ba0d42b108f2a15808569cfd1f63cbb2452762a 100644 (file)
@@ -159,7 +159,6 @@ static const struct of_device_id snd_soc_mop500_match[] = {
 
 static struct platform_driver snd_soc_mop500_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "snd-soc-mop500",
                .of_match_table = snd_soc_mop500_match,
        },
index 5f4807b2c0072b00b29619fb4d224e475ddfab3f..978f2d7316b0651b3d3230d71d2d80738ab92bc0 100644 (file)
@@ -856,7 +856,6 @@ static const struct of_device_id ux500_msp_i2s_match[] = {
 static struct platform_driver msp_i2s_driver = {
        .driver = {
                .name = "ux500-msp-i2s",
-               .owner = THIS_MODULE,
                .of_match_table = ux500_msp_i2s_match,
        },
        .probe = ux500_msp_drv_probe,