ASoC: max98371: Delete unnecessary assignment for the field "owner"
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 15 Aug 2016 14:16:00 +0000 (16:16 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 16 Aug 2016 11:29:42 +0000 (12:29 +0100)
The field "owner" is set by the core.
Thus delete an unneeded initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98371.c

index cf0a39bb631aac9ae9bccd6c0b5163e65d8178b1..30538790b1b78648da0899842cf4a5e0716c247f 100644 (file)
@@ -425,7 +425,6 @@ MODULE_DEVICE_TABLE(of, max98371_of_match);
 static struct i2c_driver max98371_i2c_driver = {
        .driver = {
                .name = "max98371",
-               .owner = THIS_MODULE,
                .pm = NULL,
                .of_match_table = of_match_ptr(max98371_of_match),
        },