ASoC: cs4349: fix platform_no_drv_owner.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Sat, 22 Aug 2015 16:30:19 +0000 (00:30 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 25 Aug 2015 06:53:24 +0000 (07:53 +0100)
sound/soc/codecs/cs4349.c:389: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: Tim Howe <tim.howe@cirrus.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs4349.c

index 0d010c2b60212df72ab6fd2f8e7f715ee3570520..0ac8fc5ed4ae4ac23940d19fce9079a52b0f0976 100644 (file)
@@ -378,7 +378,6 @@ MODULE_DEVICE_TABLE(i2c, cs4349_i2c_id);
 static struct i2c_driver cs4349_i2c_driver = {
        .driver = {
                .name           = "cs4349",
-               .owner          = THIS_MODULE,
                .of_match_table = cs4349_of_match,
        },
        .id_table       = cs4349_i2c_id,
This page took 0.02503 seconds and 5 git commands to generate.