From patchwork Sun Apr 3 10:45:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 8734041 Return-Path: X-Original-To: patchwork-linux-mmc@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 0F17EC0553 for ; Sun, 3 Apr 2016 10:47:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5030A200E8 for ; Sun, 3 Apr 2016 10:46:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 33C19200E1 for ; Sun, 3 Apr 2016 10:46:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753440AbcDCKqi (ORCPT ); Sun, 3 Apr 2016 06:46:38 -0400 Received: from mga01.intel.com ([192.55.52.88]:57277 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752910AbcDCKqh (ORCPT ); Sun, 3 Apr 2016 06:46:37 -0400 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 03 Apr 2016 03:46:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,436,1455004800"; d="scan'208";a="947049837" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga002.jf.intel.com with ESMTP; 03 Apr 2016 03:46:29 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1amfY1-000I7h-Lq; Sun, 03 Apr 2016 18:46:25 +0800 Date: Sun, 3 Apr 2016 18:45:37 +0800 From: kbuild test robot To: Tomas Winkler Cc: kbuild-all@01.org, gregkh@linuxfoundation.org, Ulf Hansson , Adrian Hunter , James Bottomley , "Martin K. Petersen" , Vinayak Holikatti , Christoph Hellwig , Yaniv Gardi , Joao Pinto , linux-mmc@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Tomas Winkler Subject: [PATCH] char: rpmb: fix platform_no_drv_owner.cocci warnings Message-ID: <20160403104537.GA43128@xian.intel.com> References: <201604031848.LdwNLOax%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1459676572-29921-6-git-send-email-tomas.winkler@intel.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-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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/char/rpmb/rpmb_sim.c:548: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: Tomas Winkler Signed-off-by: Fengguang Wu --- rpmb_sim.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/char/rpmb/rpmb_sim.c +++ b/drivers/char/rpmb/rpmb_sim.c @@ -545,7 +545,6 @@ static int rpmb_sim_remove(struct platfo static struct platform_driver rpmb_sim_driver = { .driver = { .name = "rpmb_sim", - .owner = THIS_MODULE, }, .probe = rpmb_sim_probe, .remove = rpmb_sim_remove,