From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755397AbbJAInF (ORCPT ); Thu, 1 Oct 2015 04:43:05 -0400 Received: from mga11.intel.com ([192.55.52.93]:44463 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750924AbbJAIm7 (ORCPT ); Thu, 1 Oct 2015 04:42:59 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,616,1437462000"; d="scan'208";a="816936353" Date: Thu, 1 Oct 2015 16:41:57 +0800 From: kbuild test robot To: Alim Akhtar Cc: kbuild-all@01.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, JBottomley@odin.com, vinholikatti@gmail.com, amit.daniel@samsung.com, essuuj@gmail.com, devicetree@vger.kernel.org, Kishon Vijay Abraham I Subject: [PATCH] phy: exynos-ufs: fix platform_no_drv_owner.cocci warnings Message-ID: <20151001084157.GA65894@roam> References: <201510011631.Q7UQEJLT%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1443686970-28104-3-git-send-email-alim.akhtar@samsung.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/phy/phy-exynos-ufs.c:250: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: Seungwon Jeon Signed-off-by: Fengguang Wu --- phy-exynos-ufs.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/phy/phy-exynos-ufs.c +++ b/drivers/phy/phy-exynos-ufs.c @@ -247,7 +247,6 @@ static struct platform_driver exynos_ufs .probe = exynos_ufs_phy_probe, .driver = { .name = "exynos-ufs-phy", - .owner = THIS_MODULE, .of_match_table = exynos_ufs_phy_match, }, };