From: Markus Elfring Date: Mon, 15 Aug 2016 14:16:00 +0000 (+0200) Subject: ASoC: max98371: Delete unnecessary assignment for the field "owner" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=408ef7e18097810f160629447e6ebe979a0b4282;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/max98371.c b/sound/soc/codecs/max98371.c index cf0a39bb631a..30538790b1b7 100644 --- a/sound/soc/codecs/max98371.c +++ b/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), },