ASoC: pcm5102a: Remove owner assignment from platform_driver
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 25 May 2016 13:49:51 +0000 (10:49 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 30 May 2016 15:19:23 +0000 (16:19 +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/pcm5102a.c

index ed515677409bda0bd02081527b1b65d08de78fc9..8ba322a00363cf107cbb364634740655681b8e25 100644 (file)
@@ -57,7 +57,6 @@ static struct platform_driver pcm5102a_codec_driver = {
        .remove         = pcm5102a_remove,
        .driver         = {
                .name   = "pcm5102a-codec",
-               .owner  = THIS_MODULE,
                .of_match_table = pcm5102a_of_match,
        },
 };