pinctrl: mediatek: fix platform_no_drv_owner.cocci warnings
authorkernel test robot <lkp@intel.com>
Sat, 26 Jun 2021 05:15:50 +0000 (13:15 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Jul 2021 16:11:30 +0000 (18:11 +0200)
commit1ac1f6459d1e4bddd541949019b871ccfb3f4e6e
tree659c653d006c7600d3334b4811d87087695c4585
parent16b343e8e0ef7de5ce451427fafc9e2ea42f548f
pinctrl: mediatek: fix platform_no_drv_owner.cocci warnings

drivers/pinctrl/mediatek/pinctrl-mt8365.c:488: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

Fixes: e94d8b6fb83a ("pinctrl: mediatek: add support for mt8365 SoC")
CC: Fabien Parent <fparent@baylibre.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20210626051550.GA37544@d0c207d51ce8
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mt8365.c