ASoC: ak4613: Remove owner assignment from platform_driver
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 25 May 2016 13:49:52 +0000 (10:49 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 30 May 2016 15:14:41 +0000 (16:14 +0100)
This platform_driver does not need to set an owner as it will be
populated by the driver core.

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

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak4613.c

index 647f69de6baac94c3d6aef8a9ff297894ec0c47b..33d2f2e10e2419d8b3cfedb60b4219fbfb55b3b4 100644 (file)
@@ -530,7 +530,6 @@ static int ak4613_i2c_remove(struct i2c_client *client)
 static struct i2c_driver ak4613_i2c_driver = {
        .driver = {
                .name = "ak4613-codec",
-               .owner = THIS_MODULE,
                .of_match_table = ak4613_of_match,
        },
        .probe          = ak4613_i2c_probe,