summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-07-02 06:17:38 +0000
committerMark Brown <broonie@kernel.org>2019-07-02 12:41:10 +0100
commit2d2e331697bfba9dcc59217b1fcbfa2c144f0659 (patch)
treee8bc58764c2058296586a582db32ff3c7b08e280 /sound
parent559e92f78778a171adfb152f49a78e202f5b39df (diff)
ASoC: rt1308: Fix platform_no_drv_owner.cocci warnings
Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rwxr-xr-xsound/soc/codecs/rt1308.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt1308.c b/sound/soc/codecs/rt1308.c
index 619a630e982e..d673506c7c39 100755
--- a/sound/soc/codecs/rt1308.c
+++ b/sound/soc/codecs/rt1308.c
@@ -884,7 +884,6 @@ static void rt1308_i2c_shutdown(struct i2c_client *client)
static struct i2c_driver rt1308_i2c_driver = {
.driver = {
.name = "rt1308",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(rt1308_of_match),
.acpi_match_table = ACPI_PTR(rt1308_acpi_match),
},