From patchwork Mon Feb 15 07:34:50 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: 8310671 Return-Path: X-Original-To: patchwork-linux-media@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 65893C02AA for ; Mon, 15 Feb 2016 07:36:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 962B3204A2 for ; Mon, 15 Feb 2016 07:36:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C8638204AD for ; Mon, 15 Feb 2016 07:36:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752525AbcBOHgF (ORCPT ); Mon, 15 Feb 2016 02:36:05 -0500 Received: from mga03.intel.com ([134.134.136.65]:55809 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752511AbcBOHgD (ORCPT ); Mon, 15 Feb 2016 02:36:03 -0500 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 14 Feb 2016 23:36:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,449,1449561600"; d="scan'208";a="915107529" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2016 23:36:00 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1aVDhJ-000SrJ-HA; Mon, 15 Feb 2016 15:35:53 +0800 Date: Mon, 15 Feb 2016 15:34:50 +0800 From: kbuild test robot To: info@are.ma Cc: kbuild-all@01.org, linux-media@vger.kernel.org, =?utf-8?B?0JHRg9C00Lgg0KDQvtC80LDQvdGC0L4s?= AreMa Inc , linux-kernel@vger.kernel.org, crope@iki.fi, m.chehab@samsung.com, mchehab@osg.samsung.com, hdegoede@redhat.com, laurent.pinchart@ideasonboard.com, mkrufky@linuxtv.org, sylvester.nawrocki@gmail.com, g.liakhovetski@gmx.de, peter.senna@gmail.com Subject: [PATCH] fix platform_no_drv_owner.cocci warnings Message-ID: <20160215073450.GA19032@lkp-nex06> References: <201602151538.OeZXFMFz%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <311647a2421eee3383cef5520ee0a8984749300b.1455513464.git.knightrider@are.ma> 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-Spam-Status: No, score=-6.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/media/dvb-frontends/tc90522.c:271: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: ???? ???????, AreMa Inc Signed-off-by: Fengguang Wu --- tc90522.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/tc90522.c +++ b/drivers/media/dvb-frontends/tc90522.c @@ -268,7 +268,6 @@ MODULE_DEVICE_TABLE(i2c, tc90522_id); static struct i2c_driver tc90522_driver = { .driver = { - .owner = THIS_MODULE, .name = tc90522_id->name, }, .probe = tc90522_probe,