From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com ([134.134.136.24]:40517 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726562AbeJJX0U (ORCPT ); Wed, 10 Oct 2018 19:26:20 -0400 Date: Thu, 11 Oct 2018 00:02:55 +0800 From: kbuild test robot To: Phil Edworthy Cc: kbuild-all@01.org, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven , Jacopo Mondi Subject: [PATCH] pinctrl: renesas: fix platform_no_drv_owner.cocci warnings Message-ID: <20181010160255.GA17268@ivb43> References: <201810110049.r0RJkFTF%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201810110049.r0RJkFTF%fengguang.wu@intel.com> Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: From: kbuild test robot drivers/pinctrl/pinctrl-rzn1.c:935: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: 4e53b5004745 ("pinctrl: renesas: Renesas RZ/N1 pinctrl driver") CC: Phil Edworthy Signed-off-by: kbuild test robot --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git sh-pfc-for-v4.20 head: ef26d96023a4c34b1bcc4294f570df2b63a1b952 commit: 4e53b5004745ef26a37bca4933b2d3ea71313f2a [24/25] pinctrl: renesas: Renesas RZ/N1 pinctrl driver pinctrl-rzn1.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/pinctrl/pinctrl-rzn1.c +++ b/drivers/pinctrl/pinctrl-rzn1.c @@ -932,7 +932,6 @@ static struct platform_driver rzn1_pinct .remove = rzn1_pinctrl_remove, .driver = { .name = "rzn1-pinctrl", - .owner = THIS_MODULE, .of_match_table = rzn1_pinctrl_match, }, };