ASoC: ics43432: fix platform_no_drv_owner.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Fri, 28 Aug 2015 02:04:03 +0000 (10:04 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 28 Aug 2015 16:15:40 +0000 (17:15 +0100)
sound/soc/codecs/ics43432.c:66:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: Ricard Wanderlof <ricard.wanderlof@axis.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ics43432.c

index 4f202c15df395fe6c66ee8a397a1f3d5e5415b3e..d217fed8b4234c3f543a2fba77b274c3e683ed36 100644 (file)
@@ -63,7 +63,6 @@ MODULE_DEVICE_TABLE(of, ics43432_dt_ids);
 static struct platform_driver ics43432_driver = {
        .driver = {
                .name = "ics43432",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(ics43432_ids),
        },
        .probe = ics43432_probe,