regulator: bd71815: fix platform_no_drv_owner.cocci warnings
authorZou Wei <zou_wei@huawei.com>
Thu, 27 May 2021 09:54:04 +0000 (17:54 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 27 May 2021 10:15:36 +0000 (11:15 +0100)
commitd149b855b955fe92ab16ddd59c1d540f82e6a40f
treead8ff99061fc5b77eeddc175fa618c4dff206e46
parentf85ea4945a268be6b0a6373f8ef1b2450d3f394b
regulator: bd71815: fix platform_no_drv_owner.cocci warnings

./drivers/regulator/bd71815-regulator.c:644:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Acked-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Message-Id: <1622109244-54739-1-git-send-email-zou_wei@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/bd71815-regulator.c