From patchwork Sat Aug 6 22:00:43 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: 9266097 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F317D60754 for ; Sat, 6 Aug 2016 22:01:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D78FE283EF for ; Sat, 6 Aug 2016 22:01:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9ED628403; Sat, 6 Aug 2016 22:01:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C531283EF for ; Sat, 6 Aug 2016 22:01:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751080AbcHFWBV (ORCPT ); Sat, 6 Aug 2016 18:01:21 -0400 Received: from mga01.intel.com ([192.55.52.88]:59448 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751019AbcHFWBV (ORCPT ); Sat, 6 Aug 2016 18:01:21 -0400 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 06 Aug 2016 15:01:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,480,1464678000"; d="scan'208";a="1031007564" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga002.jf.intel.com with ESMTP; 06 Aug 2016 15:01:18 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1bW9eS-000I3Q-0h; Sun, 07 Aug 2016 06:01:04 +0800 Date: Sun, 7 Aug 2016 06:00:43 +0800 From: kbuild test robot To: "Gerard H. Pille" Cc: kbuild-all@01.org, linux-media@vger.kernel.org, "Gerard H. Pille" Subject: [PATCH] fix platform_no_drv_owner.cocci warnings Message-ID: <20160806220042.GA69279@cairo.lkp.intel.com> References: <201608070557.KyrCqvyo%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1470495808-7250-1-git-send-email-g.h.p@skynet.be> 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-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP drivers/media/dvb-frontends/si2165.c:1192: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: Gerard H. Pille Signed-off-by: Fengguang Wu --- si2165.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/media/dvb-frontends/si2165.c +++ b/drivers/media/dvb-frontends/si2165.c @@ -1189,7 +1189,6 @@ MODULE_DEVICE_TABLE(i2c, si2165_id_table static struct i2c_driver si2165_driver = { .driver = { - .owner = THIS_MODULE, .name = "si2165", }, .probe = si2165_probe,