From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933540AbbLONam (ORCPT ); Tue, 15 Dec 2015 08:30:42 -0500 Received: from mga04.intel.com ([192.55.52.120]:20734 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933373AbbLONak (ORCPT ); Tue, 15 Dec 2015 08:30:40 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,432,1444719600"; d="scan'208";a="618321073" Date: Tue, 15 Dec 2015 21:29:18 +0800 From: kbuild test robot To: Chen Feng Cc: kbuild-all@01.org, lee.jones@linaro.org, linux-kernel@vger.kernel.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, xuwei5@hisilicon.com, puck.chen@hisilicon.com, puck.chen@aliyun.com, yudongbin@hisilicon.com, saberlily.xia@hisilicon.com, suzhuangluan@hisilicon.com, kong.kongxinwei@hisilicon.com, xuyiping@hisilicon.com, z.liuxinliang@hisilicon.com, weidong2@hisilicon.com, w.f@huawei.com, qijiwen@hisilicon.com, peter.panshilin@hisilicon.com, dan.zhao@hisilicon.com, linuxarm@huawei.com Subject: [PATCH] mfd: hi655x: fix platform_no_drv_owner.cocci warnings Message-ID: <20151215132918.GA54076@lkp-hsx03> References: <201512152147.S5nvg5Ar%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1450184056-79851-4-git-send-email-puck.chen@hisilicon.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org drivers/mfd/hi655x-pmic.c:161: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 CC: Chen Feng Signed-off-by: Fengguang Wu --- hi655x-pmic.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/mfd/hi655x-pmic.c +++ b/drivers/mfd/hi655x-pmic.c @@ -158,7 +158,6 @@ static int hi655x_pmic_probe(struct plat static struct platform_driver hi655x_pmic_driver = { .driver = { .name = "hi655x-pmic", - .owner = THIS_MODULE, .of_match_table = of_hi655x_pmic_match_tbl, }, .probe = hi655x_pmic_probe,