未验证 提交 2d2e3316 编写于 作者: Y YueHaibing 提交者: Mark Brown

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: NYueHaibing <yuehaibing@huawei.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 559e92f7
......@@ -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),
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册