瀏覽代碼

ASoC: max98371: Delete unnecessary assignment for the field "owner"

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>
Markus Elfring 9 年之前
父節點
當前提交
408ef7e180
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      sound/soc/codecs/max98371.c

+ 0 - 1
sound/soc/codecs/max98371.c

@@ -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),
 	},