From patchwork Thu Mar 19 12:11:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 222243 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9491BC4332B for ; Thu, 19 Mar 2020 12:08:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 733E120663 for ; Thu, 19 Mar 2020 12:08:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727014AbgCSMIO (ORCPT ); Thu, 19 Mar 2020 08:08:14 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:12100 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725767AbgCSMIO (ORCPT ); Thu, 19 Mar 2020 08:08:14 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 34BF0CC0FBCC2FE26F95; Thu, 19 Mar 2020 20:08:11 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Thu, 19 Mar 2020 20:08:03 +0800 From: YueHaibing To: Alex Elder , "David S . Miller" CC: YueHaibing , , Subject: [PATCH net-next] net: ipa: fix platform_no_drv_owner.cocci warnings Date: Thu, 19 Mar 2020 12:11:27 +0000 Message-ID: <20200319121127.30944-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: YueHaibing --- drivers/net/ipa/ipa_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ipa/ipa_main.c b/drivers/net/ipa/ipa_main.c index d6e7f257e99d..28998dcce3d2 100644 --- a/drivers/net/ipa/ipa_main.c +++ b/drivers/net/ipa/ipa_main.c @@ -942,7 +942,6 @@ static struct platform_driver ipa_driver = { .remove = ipa_remove, .driver = { .name = "ipa", - .owner = THIS_MODULE, .pm = &ipa_pm_ops, .of_match_table = ipa_match, },