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: 10381957 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 4AA056038F for ; Sat, 5 May 2018 03:04:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2BF7827FA8 for ; Sat, 5 May 2018 03:04:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C34F2934E; Sat, 5 May 2018 03:04:43 +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=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9885F27FA8 for ; Sat, 5 May 2018 03:04:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=67cxBFHP2IyLm4nFq5XFMPLVabRKHWkqksP/CCePrbQ=; b=OFt q5J/Duq3J9sMKqMV86wGk90ARzGA6OzHMQOPzUoohnCYvNi+8citpKzuSV3YqewMP3DUmn02hOmqq 3z/0A7xsUG3Tj9EleHuzG4SeAuG6HpY46B0wku1CBfu6Wyp5rdpwO3dV9mZrvat6ktkVdTglt8+Qk p4+rAt54uBnIHu4POa2oBPe3tyKvlrweGPisk1gOt6D01mNTJ6u/BegM00C4bXxPBexPJz7bWENX2 0lVkXtRT8s6hSbxxoGLzaj0rjD/rUkJECvCL7kB+0CwmeNb48vX2DJTtqMZGTBfdiAq2jE2y+PUsA BFfHtQF5djYbDr1zjKKuOTrHcj1xKQQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEnUx-0005NE-Ur; Sat, 05 May 2018 03:04:35 +0000 Received: from mail-qk0-x241.google.com ([2607:f8b0:400d:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEnUv-0005MM-2k for ath10k@lists.infradead.org; Sat, 05 May 2018 03:04:34 +0000 Received: by mail-qk0-x241.google.com with SMTP id g4so438835qki.2 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=pgWTf4EV5zKz4XqXSa50Ip73mKI6UUTlMVJ5QYH6qyD+Q//vHnNrUKejECdkczM4xd pQiM4H5EY1iGE57BYXSijGb6aKOqwWVlKJShHi+9+p68UcWg8ekxVytsUQxqcSLQl9z/ 8R9kqMverPoQ3xJxzXk7KsxaNv2OvbQ2wnTlliNgInWARtAqWnky8H2jWXqDk9phyAQ0 E+05eIPhtyWq+SsmVcDjAc+u1LzbMae6prt42nIYtDTpcq8hBtx8tz1w6MsHN3h7RhXs yCuCQYJyHspQSSKhH2DnWkCPaz4Gu7MhyYEcSoQrxI6n7H3hHB4acC9Ig2ksaJAKfrDS dy5Q== X-Gm-Message-State: ALQs6tBRXN37R5dEEScWCOVLh5ZXSlTGBZyIuQgnUCvgvJR9zhqFuh7/ SQgGEprsOgL1KgNhzyYF9hU= 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180504_200433_125113_908FA214 X-CRM114-Status: UNSURE ( 8.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , linux-wireless@vger.kernel.org, ath10k@lists.infradead.org MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.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, }, };