From patchwork Thu Oct 1 08:41:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 7306371 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B6532BEEA4 for ; Thu, 1 Oct 2015 08:43:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D0EFB2083B for ; Thu, 1 Oct 2015 08:43:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F2C2520825 for ; Thu, 1 Oct 2015 08:43:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755212AbbJAInD (ORCPT ); Thu, 1 Oct 2015 04:43:03 -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 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 01 Oct 2015 01:42:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,616,1437462000"; d="scan'208";a="816936353" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 01 Oct 2015 01:42:55 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1ZhZRr-000FJj-8u; Thu, 01 Oct 2015 16:42:43 +0800 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-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-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 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, }, };