From patchwork Sat May 5 03:04:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10381959 X-Patchwork-Delegate: kvalo@adurom.com 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 F25BA6038F for ; Sat, 5 May 2018 03:05:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4B332934E for ; Sat, 5 May 2018 03:05:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D72D529361; Sat, 5 May 2018 03:05:01 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, 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 55BA52934E for ; Sat, 5 May 2018 03:05:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751751AbeEEDEV (ORCPT ); Fri, 4 May 2018 23:04:21 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:36143 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751652AbeEEDEU (ORCPT ); Fri, 4 May 2018 23:04:20 -0400 Received: by mail-qk0-f194.google.com with SMTP id a202so18169758qkg.3 for ; Fri, 04 May 2018 20:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=j28V1K4SovbBgIpoJKioSNUbIHJ3ZhhfDddR4baOioM=; b=KEU6cdRoxYdmI7HeW1lqcwVhW0Xg7MXucJxCAsv4zBKUTADmZ54TtNiNvT8cIl3ZsO G/0gzh2EsRphnJ7eQW8zpA3tFdln2Xub/L9QK/OpYq0Vcb/D1UqHHFI2p+Z2OXoVp5oG cuchtD3sT4C3D2e5BBEU2sRAfHJ5vK8CK+emjUTXBCA6dVXll+bB9wpRYMuRz9NfSR3D UaEa7848QhkTkFOVNq3pMcBLm+Ce1X/yDfqrpSW+uxB1YvHgN1eaoipeR0Iblj0xIMAF bPIPhfooIu+QtdaRH4T+ylCoVJnUe+9/UPjVJlaKN97jxVrFghgPTYQoNNNc8B045WVO 837g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=j28V1K4SovbBgIpoJKioSNUbIHJ3ZhhfDddR4baOioM=; b=Z3dZ+LiDZI12e/7TdWu8zIq/IWiQOKialgdiGQALUDQk3uc++r8GhPeUYDy3YMGOEl 8+PFqtfra36sE4M5DR2L2qZN8H3TzsH3HPbUox+k8z5mS7ctE4qkaLLV0KKeAabMRpaK pRD4hjYnyCZv6MbUuabYiO1igXfjjTSU8IzMh0eYMm3OsIsAhdZpjZ/aAXbz3xeMfu1O iZ/yqa+bUZV3/IbQJZ00KraBnClOuNnowdGsRYmEWXXK/r8aAHQqOUagSF09v8LkDMcJ yy6a8mE0sOsQXAiVvAon4RDw1J0V7kIlGSZ1MTzbPKS0TJTobxhnWFszrdZ8b5jXVFzL 2TXQ== X-Gm-Message-State: ALQs6tAOMPcc1KxwjDWiz47njiX2Wr+Emu9kEyUTk9jmHAyS4vejUs4J AKHrSbGWziXo5TZqfBIGnDM= X-Google-Smtp-Source: AB8JxZoFFjSt9A8N3u38Kqkqh8GtOwY7K4fnhSMIccP6lpL3/X/FmFhfg2pFM0SshTTixC6avFJh1w== X-Received: by 10.55.100.201 with SMTP id y192mr23139287qkb.293.1525489459843; Fri, 04 May 2018 20:04:19 -0700 (PDT) Received: from localhost.localdomain ([2804:14d:90ae:4c9c:cde4:b11c:33c2:be38]) by smtp.gmail.com with ESMTPSA id b18sm13303148qkj.54.2018.05.04.20.04.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 May 2018 20:04:19 -0700 (PDT) From: Fabio Estevam To: kvalo@qca.qualcomm.com Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, Fabio Estevam Subject: [PATCH] ath10k: snoc: Remove owner assignment from platform_driver Date: Sat, 5 May 2018 00:04:08 -0300 Message-Id: <1525489448-23595-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam Structure platform_driver does not need to set the owner field, as this will be populated by the driver core. Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci. Signed-off-by: Fabio Estevam --- drivers/net/wireless/ath/ath10k/snoc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c index 47a4d2a..a3a7042 100644 --- a/drivers/net/wireless/ath/ath10k/snoc.c +++ b/drivers/net/wireless/ath/ath10k/snoc.c @@ -1385,7 +1385,6 @@ static struct platform_driver ath10k_snoc_driver = { .remove = ath10k_snoc_remove, .driver = { .name = "ath10k_snoc", - .owner = THIS_MODULE, .of_match_table = ath10k_snoc_dt_match, }, };