From patchwork Wed Apr 3 14:16:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13616247 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 89F66CD1288 for ; Wed, 3 Apr 2024 14:17:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ppr78xyfds4y/gs/HuD/HQU1sIXqrSXm2ElFf1uWhWk=; b=RS20BROSDkUY89elVrQupYU5Yj sCMKLv2j60QLjwxQhFZEYWnWyRXBna4aU/FBhZLoRHm+LBH2N0DFJWj8fur53s6bv8mSac6mal+EZ I5e4Nzqasj1kYy0ZolcmpQS5jDzmIiqLZyJt257GfZ1mcGslzy+nu3DJOwX9cN484q1rfRTLbkdvF AWqKXjj99qERhINXLwWMwVJQLCl3lYmXJKxqwZGrGJ0pQvuDnocf7Z0niQegtYFgvMiBQN0pKnIrw EfeZw2oIVNgwXr+DqBIgrbKuf0sCY6eqyaZF1Qto7wP3rGj0N+2kMrctJnseFQ8XIqYBtvKuTBkjq cvQa6KOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1R4-0000000GQ7z-2yTy; Wed, 03 Apr 2024 14:17:54 +0000 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1QS-0000000GPbQ-2wmq for linux-mediatek@lists.infradead.org; Wed, 03 Apr 2024 14:17:24 +0000 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2d82713f473so40058231fa.3 for ; Wed, 03 Apr 2024 07:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712153828; x=1712758628; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Ppr78xyfds4y/gs/HuD/HQU1sIXqrSXm2ElFf1uWhWk=; b=YT80dS5IrRmQ9+20dgzqVzHzIoZRyiKADea3+DB/+s8KvWwp4NbTZW3Qjk1bSWdZ6D 0bBij7AciuicZ+KWe0rCdVsvHyI2ps0Ma2UVwQowbwBFR/IEyuAtkoThIUwTWopb1xee wOFKxR8Kuy9yDj2OIUs59pYDVhlXeOnpja/cGp/9XECy4vk+mL9sjVlEHd3oY1vfp+9J cXYmJG+2Hvob5OINajEifAxA1y2PUGL4BQYcToj+kwIaKDFMMOry2zRIEXRHounOLfBE nPOXPKMG0SjzkmXweGOXWr839Zgj4XypraYl6thvSwfZnTRyuYjIsnP8oEblg4MgXRWh XOlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712153828; x=1712758628; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ppr78xyfds4y/gs/HuD/HQU1sIXqrSXm2ElFf1uWhWk=; b=APTN4zYBb9cdsDmSWT3GTgcKGAgkUIE5fVsgWFifFQNjqjVyox5U1oe9dEGECmb8B3 P5mD1V4GDOmptc2pa6ut6y7EslkKzYEGyLkzNQ2hXgWJz+NQNsFC9Mrlx5j+28tGFPdq ej17yyB99UnudyAxNJ9WEpNldOuYbcvDI2zNGZ/YX+7gbc9t21/LH5VxHmXfLAef7EDK lK8CNKAossJDtgB/Fz8iPNK29FHEQBq3M9LtB5Q/46BXQx0jdisAHbyG1sTD6DbDrDR9 LiByv7qWvYUc1HY9pHM6nBjRPzM8oeaDS8f3P14m2whtj0dkJ63uuwTIUhFeCU7rfq0C VAJg== X-Forwarded-Encrypted: i=1; AJvYcCV4mOCu/KFof2QkSgMElBNlFVEvNDELLh3MUKYrunumg9U6ARKxpGVLnbBsgbLTStgzcV5gGe/RzC7QneHzquc4MZ5c5V38X3xS3QbQ3+/GsMMf X-Gm-Message-State: AOJu0YyyLNR+euDcSSz+RYAlHCWYB1p2b8qy6Xq4Tk2OKrPzAd2omfLP KqyakSy+iS/27WUP65fH+W6pUHlI1mS1nZ/SJtWUJIiOuC30WqcWNe718jhiuA4= X-Google-Smtp-Source: AGHT+IHITyspHTuJLJiCm3uD5L9whotmJI6PL52WRKyXjtd6x/6wj7dT0DrrdPKaed6/6QZtx4wChQ== X-Received: by 2002:a2e:a783:0:b0:2d4:132b:9f21 with SMTP id c3-20020a2ea783000000b002d4132b9f21mr5823286ljf.6.1712153827878; Wed, 03 Apr 2024 07:17:07 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id he18-20020a1709073d9200b00a4729f093ecsm7737819ejc.53.2024.04.03.07.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 07:17:07 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 03 Apr 2024 16:16:50 +0200 Subject: [PATCH v2 1/7] Bluetooth: btmrvl_sdio: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240403-module-owner-sdio-v2-1-ae46d6b955eb@linaro.org> References: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> In-Reply-To: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> To: Ulf Hansson , Marcel Holtmann , Luiz Augusto von Dentz , Matthias Brugger , AngeloGioacchino Del Regno , Kalle Valo , Jeff Johnson , Arend van Spriel , Brian Norris , Francesco Dolcini , =?utf-8?b?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Cc: linux-mmc@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=738; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=lVZTs4L//r8zQlK3x3Oc75ANgngPjdrDJm5Fps37rmQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmDWTZ7I4ClqbblsU/YDwuN+xIc/3Y1gTjSNaZy JhDcyaZJcaJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZg1k2QAKCRDBN2bmhouD 15VlD/44soyCyJj5Aluw9HL3+8omGcrBNFacDN0qbC729QPsGy00VDC7y9+1wNu1vEvG1h3r74i VrDi1MGtgLEjHG7XuZcay3wAJesHb+XtOZUtqPs988gXdBZZyzkxhDxzH1/BXCm21RWfAEiOiWO Uj9Q/Uy13NwxKP/ru8D95XdP+XWojOYoiQ/9oIogUTwkQLg/F05hBzYDnMmVWp6QIlQ1dSFDJTJ hGBLDYYoIm2fssEtsNou8pSg8sH1YlcP5pSbjhEXhptzQZqrB8XhSvY1dKjctGHh83b1CG2r6ED OjO7APPuodk6E+Zj2Qlig+VfPEyEykkXzsa/U8VeK23TJdcwJVkN+IPuWHFZaTaizN0DKWHsZ9u 4pDuWAtLzKgOiJlGOOWhZUZTJnvMQa74Z0nAAGV2uOt9js0JqMZwBO+hl31UigQsrTd7QF2kYJB FTdap1mLHfHU9YHjEbLFgtN1cgZI2n62ggnstDFswV+DLF8QjlpVBU0L3z1td1njJ4M49bJ4eC4 H/09oNwtL5iUz+2zGmJ3lhLHcZNh8zz3nXk4ax/DZ2Fm4yoxOICenz1/Ls1p6T2uQYm2sKHaxgZ n3qDO8FP7KxC7NUJii6Orbej2ORa2mUgnMzw4MisSdX9mg/n8qsRuLY3e7jj6/xJD4h7nNbIjj0 RgLP9zBk3Q9ByvA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_071717_069111_E613C153 X-CRM114-Status: GOOD ( 11.39 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in sdio_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- Depends on the patch in mmc tree. --- drivers/bluetooth/btmrvl_sdio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index d76c799553aa..85b7f2bb4259 100644 --- a/drivers/bluetooth/btmrvl_sdio.c +++ b/drivers/bluetooth/btmrvl_sdio.c @@ -1736,7 +1736,6 @@ static struct sdio_driver bt_mrvl_sdio = { .probe = btmrvl_sdio_probe, .remove = btmrvl_sdio_remove, .drv = { - .owner = THIS_MODULE, .coredump = btmrvl_sdio_coredump, .pm = &btmrvl_sdio_pm_ops, } From patchwork Wed Apr 3 14:16:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13616246 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3DF85CD128A for ; Wed, 3 Apr 2024 14:17:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=iVQ0U9D/KVAqjXU1brwZZN7jtSQawCJDB5Go47IF4+I=; b=tB197GZeppD94ChWouYnSbexl8 PXG+9LJoOAqM8QdJsyjAzz2EQn9vTttrgR2W4CM0yaIRGa15VmZmehbVTaIDiB/Uzr7AmJDlYEjyv XjWlKTSj96vPSy1tL6Z68FmjUZKIT6W+f4kMunvh++oBinG+bLFDbLv9v0Ad71UjQfEy2YstlCeUH tKhnd91UqqOURGhHEKkAlO5JJFgSEN4JupQUb8pmUl+hQ3zTdfhXDhaI+rLuQ8aK07KrYbivOZn7B vwKkf8BXndv3mWB+2x/zWaSt3ZYXJRb3PgUnNMBh1IXKK03mt8cshxueIgEVT6g9ThlglpTP87LG4 qMG99LZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1Qo-0000000GPuR-0lZ4; Wed, 03 Apr 2024 14:17:38 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1QS-0000000GPcO-2teQ for linux-mediatek@lists.infradead.org; Wed, 03 Apr 2024 14:17:23 +0000 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-56b0af675deso7311987a12.1 for ; Wed, 03 Apr 2024 07:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712153830; x=1712758630; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=iVQ0U9D/KVAqjXU1brwZZN7jtSQawCJDB5Go47IF4+I=; b=kSJDgoTePBN0fDJ7TCaH7fnhJ6BEN/UEncHw8Xwbu2Y19+tyRrEbjMdGwqY6+bJER5 tji47JubMOmpEBR/FyNlR+RpkFYdn7k4p2n68DqlEpG7U3xI9SFi2Ylx7XfHfgbR+wbI g5vgqFVkd4HiDSrWmci6kq+3Ie13a75ObSgrH8vkEB7R7+xis+D403zF+CIrZo+kxGda pQJovzTDR7EkGLKQp0YpawCNBotGhPoT/MAMt9x6nhBHOx9ZVSKJ/6XoZ6NDCYUyBPUv sDyNbd+jvmHq7hJUUcHaRTUs3YEdMnASgAuMliemNCo3p7q9zvTDvUAf69GWvO00wF/s 99dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712153830; x=1712758630; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iVQ0U9D/KVAqjXU1brwZZN7jtSQawCJDB5Go47IF4+I=; b=sUFzljVUXG1lrrbflH0ffXx9/8aiP4o+FPbvNsiQGHA+FXBKRFQBe9QeAU/lN432Ce DrjeLWkCUHgWUa26klSCzi4fd7OmKRVYQUucsQ9xtkX2A92JZn4LdRcFWa0duTsiZPa+ ZGtEoRsot4JfSs4w5QA/HohVNKRaPYqlvcQ0vn4mHsJUZXP1JOKBEZRiGHN8LmkOr7Eg zWMO4zaz0C9Oz2EjCAM2911k8R0TxU4KpDAN4YXwz/dy3E/ippw7n4rvxiwwK13MM1eF /toullqGhxwntP/73TA3kdNsIMXdZ9OPJ7gglOTWSAm7mmD/ir0WDtvj4PsW1zPoYDbg xxdA== X-Forwarded-Encrypted: i=1; AJvYcCUGwAD9pNNPno6MXH1w58t0yLCjIvK7yLXA6BT6PGsHGsrGoR8qm3MFm07AcdfxCNgRDp1g2JXqWA8LuC/udmaaT6gtZEnj3yUBcLD0yY6w7pQ9 X-Gm-Message-State: AOJu0YyMcH0ZtmXCjmpFzjAJ1I7znBZuBbyuwrzdmm2SwC4PM1Iwe0At 9avOeCYt4aCdcmihrO3XlGns5e2mCOEzh6EzdaJiQP3cx5oleaStjhDFWIB/zmY= X-Google-Smtp-Source: AGHT+IEq+cedMg/HdXeWUJ46ccGlTECKF+cYAqgFSpQRqCCTL8vGS1xn+Q24HJJd08R2KNhYaMPkLg== X-Received: by 2002:a17:907:97c9:b0:a4e:5088:a959 with SMTP id js9-20020a17090797c900b00a4e5088a959mr11602611ejc.17.1712153829813; Wed, 03 Apr 2024 07:17:09 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id he18-20020a1709073d9200b00a4729f093ecsm7737819ejc.53.2024.04.03.07.17.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 07:17:09 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 03 Apr 2024 16:16:51 +0200 Subject: [PATCH v2 2/7] Bluetooth: btmtksdio: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240403-module-owner-sdio-v2-2-ae46d6b955eb@linaro.org> References: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> In-Reply-To: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> To: Ulf Hansson , Marcel Holtmann , Luiz Augusto von Dentz , Matthias Brugger , AngeloGioacchino Del Regno , Kalle Valo , Jeff Johnson , Arend van Spriel , Brian Norris , Francesco Dolcini , =?utf-8?b?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Cc: linux-mmc@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=694; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=wmPmmXdT8FMwSksDvwRdXeWX/na11P5Z6Ye1jHKblRU=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmDWTaZN41kIdbagqJ8fbnOuBWNq6NcKpm+jnmw SokJxjA9ZeJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZg1k2gAKCRDBN2bmhouD 18TqD/4xMdeO7N8l/RfcqlLT8jwGJJpLGtyHMHJVuEX5WDCMPUL0LKwWqGI48sSlBaPNDp5uZ7b bpD9xkZtpsFLxeTOAUVR428mbr1ejpNQ8Q/B0ilOg4L002xiikkzLaPKrypNOZVk1Y5sePzi1iu VsPrAXo1vFpQ3URnX3Ph9o8esjfPfJqguU835edg0Cf+IgTZFV5ODNGBbDI/tG9YMnwU+4s9FZ5 FNwTrT7xfi9yInPMbu7qB5/ZVEctiydQWu+0VLjjQ28nokYCbGH/8a67X/gN9G7DkGK0ha6osSB G68+oLRWdpykxGXgj9+lggR//ZlHdTJE2ekdyWaVt85iAKmW7n4ixZOPl8LBJrtD1eqQwLAaMni ZlxNpG9q+LCoSx7JaB881EeKwS/0zDyX0FWC8n5qYiDpZ28rYjQ5AbPKmaRGGrS0UnqdaY+Hf30 Tj34ZUSYc+RPw3DS2VGPQ81b/Sz83YgKING3NORDXWg8LBqFaENZ7oMI2zIg0tZnLOTj5hNNNSa HmY0qMwWOie2pjXpnyq9yctaaIe0lrpx4MjiUFWnjSKE1JbKfpfGWXMsp7TckdmnNk9zaXcC3at +qanW5E0+QlG0Phx+ZW8Brc4TV+mr8Rwe1bYb/o0X01nQ27LdryWzFmxacAc78gKZPIqwQiKU+l dXRLBJZzLsoAzjw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_071717_006900_8026EBC7 X-CRM114-Status: GOOD ( 11.27 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in sdio_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- Depends on the patch in mmc tree. --- drivers/bluetooth/btmtksdio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c index ff4868c83cd8..8ded9ef8089a 100644 --- a/drivers/bluetooth/btmtksdio.c +++ b/drivers/bluetooth/btmtksdio.c @@ -1519,7 +1519,6 @@ static struct sdio_driver btmtksdio_driver = { .remove = btmtksdio_remove, .id_table = btmtksdio_table, .drv = { - .owner = THIS_MODULE, .pm = BTMTKSDIO_PM_OPS, } }; From patchwork Wed Apr 3 14:16:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13616376 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BAD70CD128A for ; Wed, 3 Apr 2024 15:19:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BETDSA3lUOn0sAQ76GOdjltAIl8rL8ja5xGlP+sx/I8=; b=p81HxcoUARCWlaN1Izd+ebJw6d njV+xdSMaPktslkxQ+DLvyxMlMZP66Glg2tzdBGhJ/QHLhcKP6pnjXR7gE9lge7lrA1QgZD5HAtoK g22xTkLSK1aQUr/T8SWOf6cz09ENjEc4GuCe36/y7ftKPF1a0SM4SuXS0cRbZXdgPtRv43yl0HH/W NjDChwd8IZCsotplYfbqrphxhJ00Xe2o6intaSuXyeMgNqTsiEBW51YVDNjsUlnUriA1zg1p1LL61 KyvRRCejefdPSjgkhdVfgdJNf4l/pV3riVDc/g9+i9RsZR7q6TL123n0qQqsmmQs1pX7otxkZCEB1 0KqDJQ5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs2OV-0000000GhQi-3ouO; Wed, 03 Apr 2024 15:19:20 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1QT-0000000GPgQ-46H1 for linux-mediatek@bombadil.infradead.org; Wed, 03 Apr 2024 14:17:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=BETDSA3lUOn0sAQ76GOdjltAIl8rL8ja5xGlP+sx/I8=; b=GtsXtex1FevaD4BgN9ZOOIQ1ug yUpRei8GK9wyZE40ymdrTD260jj+EGKXQGiqyhfnBRvrLRrls1QLou1Y7ymydBSF5Bd/hluSW7RtI SCaw7AlcG3BFS7Nl8kadfXok9OnRm+t3iTnpiAuzIDEgW3oOS5nB36n/1GWNDjtkiv/TGXUyig3kc BwZ5/lh6nC5PpjBEBLhCm1UBD1bVkzH8fcisf1MYJNX7jWYc/hNyNh1zw1no/QWLt8dasc/rlp50R 6Uei/rncfJ7jTwEN5iwGABl9TVrvdO0TYnMcku+9zBr8omUlzn+MeqxfOPkT30NQHp3LCXJ5A+/Xg bUxtpVQw==; Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1QP-00000004GU5-3TxN for linux-mediatek@lists.infradead.org; Wed, 03 Apr 2024 14:17:16 +0000 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a4a3a5e47baso769998566b.2 for ; Wed, 03 Apr 2024 07:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712153831; x=1712758631; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=BETDSA3lUOn0sAQ76GOdjltAIl8rL8ja5xGlP+sx/I8=; b=szy05FvRpftuff0tRtYa0v/b2e8s13tDPdo/PWPxrP8iyKF8fQtCpr3gEL6jBFdInY wfJRB/QkACYZM2MUaeogBYHKoSr/MVT7ukWf821FUKHmrWW+Pb687T6etidVeymqcL9m TCKRwuipdgvhfiVdADwKqXwYhfaN1WtikTXAJ/k+9kOnA5aUrKn9ga+kKnB9gKAvlNJ7 OzSdly2nPPxZ1oEJpRisFBNE8DzAF8GRVNX/n6AkBj8pePAZN6UPih38gf24KP4rTW1R c65v2dPHJFfupGr0Jrx3yA5O3m2Q2WtL6U/zf7/0KYP2tkjm9IQ8aPNrFwnoZ+NrxCEz UNbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712153831; x=1712758631; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BETDSA3lUOn0sAQ76GOdjltAIl8rL8ja5xGlP+sx/I8=; b=KE5m8cn6wmCeyfB/2Cq+xQAxVebrrIiU1tddpdewi9tGELFqg92McRXVuAiLH3Naar TBagJ+NWGH1fkDjhBwKNQqfLW73a60kX56zipmQ6SV9jIbgfvu8LHwCwOwkuO8Dw4tVe KIyOLF9XkiXQTKunBeBX2VPiovgm+739DrnPsQUmp/JK4YhXnyoAUVE8kWfPjCEpkDce ycizPl+xPrVAc8grPk0npyTSZMgk5DyKlvWrKiIXhanacyQaVcqCQv8+cL+ApQmU3KOk 5eDLJlT6W3o4dGlBT9YW70TXDQw2aZKD+DdmIwDfaqzJkKOBjI3IAJnaHtqT17kqkZhf cXAQ== X-Forwarded-Encrypted: i=1; AJvYcCWmfGcZ640gu/oNx0DPDBNyjO/YBgyjXW8/Sy3qWz/UqlAq1IpubBQ43OhSMwJ0Z3oW2zp5oVRO8hHZINo8tCkbsUGq8Qewi1+8tdATr1NbMfMv X-Gm-Message-State: AOJu0YyBPjulx7xdtF+2xU3nP8c+TGOVMsHMeDV0Cc5yELcIHys0UgLd MEmi4ilYsLcP84tkEWJhtSr0Qtz/kycWf7M2EG24cgj0OSurDHCZO64o0ekVqy4= X-Google-Smtp-Source: AGHT+IE1w6g2ucl/6IDzZmSNYwasQaFWqR1hQjGTPf/zJiNt+ECvgZll7C7tOYfQKox7jLfE/t4qNA== X-Received: by 2002:a17:907:72c8:b0:a4e:8024:87f6 with SMTP id du8-20020a17090772c800b00a4e802487f6mr5679542ejc.66.1712153831564; Wed, 03 Apr 2024 07:17:11 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id he18-20020a1709073d9200b00a4729f093ecsm7737819ejc.53.2024.04.03.07.17.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 07:17:11 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 03 Apr 2024 16:16:52 +0200 Subject: [PATCH v2 3/7] wifi: ath10k: sdio: simplify module initialization MIME-Version: 1.0 Message-Id: <20240403-module-owner-sdio-v2-3-ae46d6b955eb@linaro.org> References: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> In-Reply-To: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> To: Ulf Hansson , Marcel Holtmann , Luiz Augusto von Dentz , Matthias Brugger , AngeloGioacchino Del Regno , Kalle Valo , Jeff Johnson , Arend van Spriel , Brian Norris , Francesco Dolcini , =?utf-8?b?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Cc: linux-mmc@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, Jeff Johnson , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1683; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=84zMF8c7ejIeEw/PrFg37PetkFt6D4yoyHa2Q638+x4=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmDWTbyM65zcvlEfiPazS0kbhT4junWR/REE800 uUG+OWmZwSJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZg1k2wAKCRDBN2bmhouD 180pD/47q0AiV5Hxqsie9qNBuzm6JBeut4X6plfgi0CLEaa18s6SlSIYmjyQJrEaIIjiwYkHl9R mNz6kX5GPEbh4BOI/LcKeOxZadJaAlD9TefFcic5Ysxzx5v+3dbYdVHdk+VfEGOd7VfE9/rOAO0 BQTjfDderHaoJePQC4UGkW+gWTgv06CccSq1b0cc3lL1vQFTjPEYPpkXyLErRlj3A1mf+B9tJqU QSG8JFugLbprDi4NOHbNyq5e321sRMMpEfs9rSVsbQ6Dfn3BeXn015N/NfoXYVcfPh0z/su1G67 AoFkVFLW/KLuKCA20mWiAuob85XpRTaefVGaNsYSWOzfN/PBbEzWxuyK6UoCieqUsD+IxQXCNaq 9kfvpAIrEtJsGcMCbIFZ1wY+s+BQpNX0S07dSG4Cjiuel3qY1TwiAx9uwoky9uJ8Qwmb9lNjm61 zXbrVvNFnnE6WPOG/aAF69LkYOdYZ4WCA3n9B/F+GhplQZ4EGvQwWysETP8LwPuz5gDHhiME3Ny M/2ndx82o/bHeg8MbwmGjbxANR+iLNhDqdy06BYjNlYWLn6dctZeAV6hk5IOG2XpY0mpIPXdPXA q6MWuaAs7gMQsmksWyFardD2jh268J9qqV2DrLrlPxACunW82BMYT/aQ8WfxbiFEMl4ZjJJ3uBj mFCcm2iroS8Auzg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_151714_058021_41D8B236 X-CRM114-Status: GOOD ( 11.23 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org This driver's initialization functions do not perform any custom code, except printing messages. Printing messages on modules loading/unloading is discouraged because it pollutes the dmesg regardless whether user actually has this device. Core kernel code already gives tools to investigate whether module was loaded or not. Drop the printing messages which allows to replace open-coded module_sdio_driver(). Acked-by: Jeff Johnson Acked-by: Kalle Valo Signed-off-by: Krzysztof Kozlowski --- Changes in v2 moved from other patchset to avoid conflicts. --- drivers/net/wireless/ath/ath10k/sdio.c | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/sdio.c b/drivers/net/wireless/ath/ath10k/sdio.c index 0ab5433f6cf6..1acb9fba9a8e 100644 --- a/drivers/net/wireless/ath/ath10k/sdio.c +++ b/drivers/net/wireless/ath/ath10k/sdio.c @@ -2671,25 +2671,7 @@ static struct sdio_driver ath10k_sdio_driver = { .pm = ATH10K_SDIO_PM_OPS, }, }; - -static int __init ath10k_sdio_init(void) -{ - int ret; - - ret = sdio_register_driver(&ath10k_sdio_driver); - if (ret) - pr_err("sdio driver registration failed: %d\n", ret); - - return ret; -} - -static void __exit ath10k_sdio_exit(void) -{ - sdio_unregister_driver(&ath10k_sdio_driver); -} - -module_init(ath10k_sdio_init); -module_exit(ath10k_sdio_exit); +module_sdio_driver(ath10k_sdio_driver); MODULE_AUTHOR("Qualcomm Atheros"); MODULE_DESCRIPTION("Driver support for Qualcomm Atheros 802.11ac WLAN SDIO devices"); From patchwork Wed Apr 3 14:16:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13616249 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DA49ACD1288 for ; Wed, 3 Apr 2024 14:18:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=t8CF3YqTJpyZfex95royntlXjuqDXfKm+2I23/q10a8=; b=X5mPDlMLecR+8tZ9B94bSCoBWB ZrrWek968qBI4ZyR6PBQOjErtpdxdj1VOcN6fH+HIXdXomYXhzUrY+LrMnG7k8H79YAZnF8kt5dno IFFssikk5CxyjNyb4JoiPGifwK+DlXqQQH6RZVxsohEoU2CP5N7rN4+c9yXzZlFUfWPImv+htksv5 BRH+WqudmQq/qNi1j9B7ffFKB2UtphdnYG5xfiG3aOZYH61b3qTkHJ+a9hdL1v/32oGK85Z92sePy CpkJNDTGrtW7pW0P4uAGxVba0BinyA51SJCqw30ikA1Kw6REyZT5oQtNcAf/6hd4t6num2EVhYNJJ Ixdlonaw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1RL-0000000GQMr-10Ub; Wed, 03 Apr 2024 14:18:11 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1QS-0000000GPe3-32xV for linux-mediatek@lists.infradead.org; Wed, 03 Apr 2024 14:17:24 +0000 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a4e34d138f9so675674866b.2 for ; Wed, 03 Apr 2024 07:17:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712153833; x=1712758633; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=t8CF3YqTJpyZfex95royntlXjuqDXfKm+2I23/q10a8=; b=Yn93OD8LKAPveHerY4TrMlDYJcx1fGP3JsTryXothtkqt1iHD+nykv2CdCDD+a+UJi QIqzYS5Ga6+4vA1CuNKmV8iVvNDQ5C3O4DnvoMkIbK/Zt2bO14JV05TfuiE9dKiSKBW/ VRs26JGl8hoqL6H3IzZ3Cnzye+v8IF2EwZcBFnsPo2ioIDjKzIpwR2o1//DrlPsguFQd lmy0CuhQj0sg0x4Y7rHiBsJmnQsXBvG1ntB/h7jey/6z3wQ+X+YfIhHqGkMeg10qy/iA vjL9WvIMb5H0rOPdbaKsdSrGdvRLI6DaS+ylAvRVTLYS308bGehBi0fQ8tO7mtFhup+m TnEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712153833; x=1712758633; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=t8CF3YqTJpyZfex95royntlXjuqDXfKm+2I23/q10a8=; b=LnEXTwOfdABk9ckw4byW/xsFF60ja0Ef0/7CtAI7JuRpnFhzBJzK19nxRYiirpq4Gr 7d2AamN3W1XZwqxKpviVkxTq00nHZXzav7qbgMKrj/BEyWwXAfKPysvq3hva0gcpvCWR HsvHzvr6ztiO4WgmQOSycOQdiQH5xiW3I7/AZc0ILxPCeOcgB5O6kS+j+ORKkxSbOmKB BaGl7GK+9cujKb/uxQm3Nh172zW2glF14LR7rO5tGqKRGk3ZEX+5nVxZQYQ6WmgFgIDx zf2g0HTIZ30Vfw2JKZBfpNuMxWnYcMbZpQ6WHb/3miAkJePRzzKVPfU3c1lNff64Fvgz Xifg== X-Forwarded-Encrypted: i=1; AJvYcCWxxgGQL4iskPaFZEZBC0r5+9ad4cM3Oyxo7VS3XblAyXUvbenTIX7I/v/7i87H0cPDt27y5scuRoNURDn3R6r3tvd3+rGnPIcuHEYbGyo2GxYK X-Gm-Message-State: AOJu0YztjgLrWPaG54MWH2EaHo0zJE1AlB4L7BRNFSYgGs6Pmtk8n1V4 XIFxgzzAgAulzUsA7IaiCZovJ1hNzTVPaZFesALUIWfi9xm3XHmmOKLfRmG5Ly8= X-Google-Smtp-Source: AGHT+IEUtfdmZfKGWRWu0raSk8TGFpN5pIwAwL9y5tPz9aK/wk4bFhzOX2A0Eo890n5dIjGnOyOkVw== X-Received: by 2002:a17:907:9483:b0:a4e:a204:e646 with SMTP id dm3-20020a170907948300b00a4ea204e646mr1613986ejc.64.1712153833354; Wed, 03 Apr 2024 07:17:13 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id he18-20020a1709073d9200b00a4729f093ecsm7737819ejc.53.2024.04.03.07.17.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 07:17:12 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 03 Apr 2024 16:16:53 +0200 Subject: [PATCH v2 4/7] wifi: ath10k: sdio: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240403-module-owner-sdio-v2-4-ae46d6b955eb@linaro.org> References: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> In-Reply-To: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> To: Ulf Hansson , Marcel Holtmann , Luiz Augusto von Dentz , Matthias Brugger , AngeloGioacchino Del Regno , Kalle Valo , Jeff Johnson , Arend van Spriel , Brian Norris , Francesco Dolcini , =?utf-8?b?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Cc: linux-mmc@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, Krzysztof Kozlowski , Jeff Johnson X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=794; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=QdpKnfzTFfl7629ghdBbT/xMhayZvm2B+bXXRAfXC/g=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmDWTcaSwzCg41URpHmCIIgbHloJ5RwRX5cfD8H j07G7iVMXKJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZg1k3AAKCRDBN2bmhouD 10i9D/99gR/B7ovrPXnyfbAPO/7GCElxPvvHn2XRdqAxM1ZKmgJ+gxlTXYBZvMuLM8KI9dwWCWl tSCaUaMHajsac3WbHxh1dsgEvWLQM0XPHZFyXu63SUpfrhIWkFJBqj2yJ5sBOMWoCLvlEY7iFiJ XIuwGpvYxcVW3xbdY9u8IRKe2d/QQClR+Pu7YwyaR3OPRRPjrlzxEIazSDl8UCUzoIBEEgXXcui D9Nl/I6MXKHrGyeQ75ObjBsC8f/55RhXUb0iwrFKNZ6fG+YHUkxsbjCiBqbDm8+8nvYE+d2WV7W /A1XSVK/KOjTZ/94nDBXPK/iIztegRewNOWl1TaG5lMMiIyQqvFHvRi5tqYyHeZiAf1y5FJqEHA eYIJqm66pLjbYfM0t8o4wvGIUMigBEVp4b6fZUb8J99Yp9zjodHujpfYihjqQWnhaxtHuHjDr5n ZasOnpB46kBTK8c+UVKJuMH/Pf0KQ5Quqv8VhOPdJHnKlfMwKfxGf/kGUBHs1uL6Cisxsytw7fX LW+wVCXaVhb38bZ+pjlVneUG11da1AYcl4gJgTHkDAAtTvny3D1hiLUWFQF4b5WqH5f3dIh4RVs mi/sXs9DKXNon/qkHvKUJr/49OHoZMqKQQ6S/QgwFY9OTVImKFTmbtSxDaoaGDw63BijvD0NYwr +bU9iK84wUPmpug== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_071717_306605_3B4FD166 X-CRM114-Status: GOOD ( 11.54 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in sdio_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski Acked-by: Jeff Johnson --- Depends on the patch in mmc tree. --- drivers/net/wireless/ath/ath10k/sdio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/sdio.c b/drivers/net/wireless/ath/ath10k/sdio.c index 1acb9fba9a8e..cddd9e3010ee 100644 --- a/drivers/net/wireless/ath/ath10k/sdio.c +++ b/drivers/net/wireless/ath/ath10k/sdio.c @@ -2667,7 +2667,6 @@ static struct sdio_driver ath10k_sdio_driver = { .probe = ath10k_sdio_probe, .remove = ath10k_sdio_remove, .drv = { - .owner = THIS_MODULE, .pm = ATH10K_SDIO_PM_OPS, }, }; From patchwork Wed Apr 3 14:16:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13616245 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0B462CD128A for ; Wed, 3 Apr 2024 14:17:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KtzghwkQC0PmjQC/FhDBGdEgi78pS9U5YA2ZXwW6cgM=; b=Tl7oSWXnEaLLjvDuN0YLxwdIzH pTQcE8NlvhqmTLCHH9C5zZt4yOB3aYdFNnq8h/bH8hspNQYlYx4Sl/Bjdd8ap4aJppKAgWIH4BGwu L9s4K2rNzxwVhQzdtIj1GoaPQTV62dDKGrYSKdB2f5umKUmMbyuXBHwDDlYzsbmYkWmdtAjuaNMyn AmNbHX0jLSaMfV9MTv8s5LwSThRL+nckmrT0Yjfq5Dl68R60VfynJZdSB8TtD/bIG1tp5CUCtPY/9 t/x+N1/4nTd0ggXCsezpD/pC8RFmdc9coSY7w/C5YiL01W7pnW0iPn3VdwewKSDa6AhNg8yFOX92W +igtByEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1Qk-0000000GPrI-1Nj8; Wed, 03 Apr 2024 14:17:34 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1QW-0000000GPia-0jr2 for linux-mediatek@bombadil.infradead.org; Wed, 03 Apr 2024 14:17:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=KtzghwkQC0PmjQC/FhDBGdEgi78pS9U5YA2ZXwW6cgM=; b=fMkUfbj2ixOZ2N6+kawQ8v0nJe 29d4FThscCa4fgYKn1n79UBWe6cN0vJwxPvpU10+A4pB6pFE3zGRszZpiKkl28mMtTuXWDIqr4B5K 4ro4h4iw7nLuKI6DRx666iA0noqipMrZh8gBCX49Nuoark/gjJiZwc0zjgGaOyiQULEI1+3VlHQX8 uKuH6G9j+aG88D2DDH//FvJedL+qeibL8h3rqVJ1fTIaKPAAcWKEZqeDWo78qmhwhwFo05fAsG3Ba daUBW7ArMm2aTZOiO26n1sdWyFN9+R4svNfZXvz1XVq4FOdOWAMA4EteBe1UJYhAFN3YeOg91AYpF zEjKDyGQ==; Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1QS-00000004GVR-2Il3 for linux-mediatek@lists.infradead.org; Wed, 03 Apr 2024 14:17:18 +0000 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a4a393b699fso173618266b.0 for ; Wed, 03 Apr 2024 07:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712153835; x=1712758635; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=KtzghwkQC0PmjQC/FhDBGdEgi78pS9U5YA2ZXwW6cgM=; b=RVPRS2S9xfzPNpLwg4U0fj8PL1Gn2qsXXvKLj+Y/T54lIGhLaGIMF2iM2R8eMaEc1U LGBvSfKQHeormhZT11lLdFLIEPKk87JlXvpmyLXZIfblR3fYWH50oIJ2MEj3r4WO0t3M +Jue9SpXnupG7HaL+X5avU1LALYuyeEGnGOLn6NzRg9odcbIFQuo15yM+Vhls9LuoHTH eXJGN6BgL8+CbjNUIUH+uok4oh2kJg5mVeZQP9z7vwIktt1AbgGjJdmOTfdH40zqbaGy 7UvR+LZEvMEPr7x1nGyg87NkDiu3otd9flYs22SQrSy/YJ1OWYXrONstWJNMx2UUUDDj gVtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712153835; x=1712758635; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KtzghwkQC0PmjQC/FhDBGdEgi78pS9U5YA2ZXwW6cgM=; b=XkQaKpxwZKvTwDHYP3co8hmyBjVuPB4qTdpjareVCIz2OHUon6TB9Is5IG7qx2Z+K5 AbjnkbXbBPTF/YwFR/t6wt50BY1V1ni/fow0kkpKj+UQvE4UMfGQwjzrdfgfU8W7smJH q7RuQ35a+8lqePGXwJiBFTRztl/fRfP8bHCEu4ClqXy4ubnTGMN51VamhyGPTmuuf8w8 YJpHeIBIvycgvS8kmLaJB1cRC5WEESvasnAowCDfpPcHNyBPUpbwqzvDtHrvV9k6b9nk iqglhRRpv6l/rFs+Rwq6Cp7/vVIdqjorTrvKPSlZmInZkXNPq780h20onfyJHIHSVoHH IwFw== X-Forwarded-Encrypted: i=1; AJvYcCUihqY86J/3CepEwun09VaA04sA6miPsB5WKepOFL8wOmbc+3kfqjLUMzdhtZrltY7zeH1DZFcDhccLwStCK8YNRJRKEWZQXLnDisZzbXxhsXER X-Gm-Message-State: AOJu0Ywi3H38GPCvfe+tjB2xQ2d9EOTNrcc4gFSRgElX2tCzXnTHh22d HYK3Vm0gXL0Dtr9ui9zPE1EqxHdXGT6mkI5rjMDsz+Fabn4tM4qPIPUYS5x9UW8= X-Google-Smtp-Source: AGHT+IHhgEWh9iPNOPHwnOG5Ucf0f1VjLhJAnC0jPd6Py8JOZqFE+ITUDFrj/tVu+BgC1bMNTDrVYA== X-Received: by 2002:a17:906:f203:b0:a4e:3841:8da9 with SMTP id gt3-20020a170906f20300b00a4e38418da9mr2445038ejb.23.1712153834987; Wed, 03 Apr 2024 07:17:14 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id he18-20020a1709073d9200b00a4729f093ecsm7737819ejc.53.2024.04.03.07.17.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 07:17:14 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 03 Apr 2024 16:16:54 +0200 Subject: [PATCH v2 5/7] wifi: brcm80211: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240403-module-owner-sdio-v2-5-ae46d6b955eb@linaro.org> References: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> In-Reply-To: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> To: Ulf Hansson , Marcel Holtmann , Luiz Augusto von Dentz , Matthias Brugger , AngeloGioacchino Del Regno , Kalle Valo , Jeff Johnson , Arend van Spriel , Brian Norris , Francesco Dolcini , =?utf-8?b?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Cc: linux-mmc@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=936; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=+oQOj54E8azRB6OAy0SBTyBX7qm6Cw4f0BTTdrV/19g=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmDWTdk4remwYQ8MPd4+0bn1vbzqllLhREEFzZE nqHbYhDUiaJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZg1k3QAKCRDBN2bmhouD 10GHEACVe0SHPfWrkE8WfxpC0NwDclSzh8WdeUe8P2iGIhi2sSBmHMWdbEVvwA9PEG7eDB+lXHQ y3vG54Y+GTZz3oErC9uQb+hWN3JzA1tsIZww1h9xrezZ+dHz+FpsZhz6VWSG271LLle0fmTzzzC 3/SC+j3CiyPS/JRWizY1s4AxuFuSRiN67/LUGaXDQd5+VDig6n1gdH5oByYOnL2cZNDybG/fDje qSXiUl9pkheNK39WKuvwn5jVwJxdohynYCmR2ePhSJfLvyroUxXque3MgCqvk6DS61IR88VqP4X P3uEzcVFQCghvmhnv/Mj+gBdqOV/BJAjvC0Q0pwAfNKIv2A8LSd8KsvGgG6aalFW57nuOw8HC87 5RoT8klgd7VwJA2f0bvjXtsZXkoIoL+73dU3mShuF5Ara7wcxpXXBrzpZdrJ8exjN3L/UYqbAsr MjQGm0YUEnN7MshNVlBNwx39kWCCvv5HV6qF31vpKcYUNjuD2FXj1n17JGqMO4pTPCn2DAUeyvd gQ2Cs2YcDuT78OzcrktDA+vylKPDyonrGSChlZ4WZWO7oiy64jN1KTzFJHsdFO/0vC3oOX1ts/q au+zXHVRkAi0iqcmT28UKAxFFFpWHoKMiv/HLfDlAWvQrtH3zcR0IoZdl+WyAU+Wx+uXvOAyNji 8iU4ZZ+B2ce9nVw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_151716_858911_BD2A404E X-CRM114-Status: GOOD ( 11.72 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in sdio_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski Acked-by: Arend van Spriel --- Depends on the patch in mmc tree. --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c index 00679a990e3d..13391c2d82aa 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c @@ -1238,7 +1238,6 @@ static struct sdio_driver brcmf_sdmmc_driver = { .name = KBUILD_MODNAME, .id_table = brcmf_sdmmc_ids, .drv = { - .owner = THIS_MODULE, .pm = pm_sleep_ptr(&brcmf_sdio_pm_ops), .coredump = brcmf_dev_coredump, }, From patchwork Wed Apr 3 14:16:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13616248 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7E642CD128A for ; Wed, 3 Apr 2024 14:17:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=B0vV1TVhRuXYRf/9v8gYugm0cKFpboW4ZZINajTG3+I=; b=XGXslKRuNWuKgOC/2gwzGFt5ji YynjXGkqW9o+GasrCWH7m1JPrmEgH1CYDpBGcDj2PTU/ur2TI8omve8OTHsT18XIkFK/7zzIupcVd Q/ahUbPvF0MAkEVthv5naXoIK3Oe67sYucFu7JiAxlaHkOPfBaKndZ1RkmLrdmnEW6vQ6oJQ192Ra WUSAsatmJqBaLRoishvAAT+ueO4qB0TUE3nkM/VYI2dYAJWLCmvwBL10nBPeQXSmEytkc+x8kRWjP ++ZS3j3Zwiyd9ediCgeFO7o5awZEkw4cHy9eCrxPuJsAW0YFefc9ZPXDkd8CdhoM4AQK+J8nyFaZN 3KQN/Waw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1R6-0000000GQ9T-1GLu; Wed, 03 Apr 2024 14:17:56 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1QY-0000000GPjg-0Moh for linux-mediatek@bombadil.infradead.org; Wed, 03 Apr 2024 14:17:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=B0vV1TVhRuXYRf/9v8gYugm0cKFpboW4ZZINajTG3+I=; b=K5v7S+/37eqAh6mtga1deIhOJI CCWztoQ4XuV9FPxBcxsh31liC0SZ5x76w6kFOPtyguJ6FkAM8g7HSGFVjV6YMzTWNTSYUJz095NTu gFYPeRHJTaRaAO4kYZx1q9cRGx8hebiDRN2Kw9iS/K3gm9Xs/tp2JFrg3QNOtgoZHflM0M4g3f8C5 +5YxR5nwSmYn6P7E4JK38oYSF/MdIu2FXNAnQRPXzFprV+yM6DyZjRJ8wKD1h1jAowRTqhXd5f1GS p7DpVBQGzfZeGZBbQliuH0mxbXbvwQHspNwgzLQIZWU2yH0rzeLg234uo+Qxu9wgPrmya5BzUnend 5hiQW/Bg==; Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1QT-00000004GWI-4AkY for linux-mediatek@lists.infradead.org; Wed, 03 Apr 2024 14:17:20 +0000 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a466fc8fcccso828319666b.1 for ; Wed, 03 Apr 2024 07:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712153836; x=1712758636; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=B0vV1TVhRuXYRf/9v8gYugm0cKFpboW4ZZINajTG3+I=; b=I19H6mwwOiDJ0EA1ghvCz/80i+JjCla53Ow6r/L92OesnD/2VxB+zqZ5q8+N5FWTtZ iirDUzEcJGLQTDVLd15ZRd/zFYP8U/qC0fTVFXmm5aAEpn/zXKueTwJCNLwxZn3BlZV3 qVxCQympkyxglQe5LB4Xq7qFrJXgSOP5fAzWY4WEYc1TAAlRjQIdVwZ/bocTqJmg9Yus VVtJDXO3YeEbUW8sC4yf3zHgPfPrjdh5eNwz0/xhPYkTboaJ1gVoXlzg2qj1f/12S3N/ ckPkEQQfwOmdQpMoQbROS5gFA8X0hHUWgoACKkWyYaT2QQiRqLHa5r4t68Um1m+jq/ME kWdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712153836; x=1712758636; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B0vV1TVhRuXYRf/9v8gYugm0cKFpboW4ZZINajTG3+I=; b=KQ+RWMORdBSBa6Eh7qm+leMsC6+u/ZFRRppaTfIXkpucf8lm+hQ7YU2hNFQrGFjPqg 5wcmRP+EKdCN/U2HLOblAJZOCRKw6CT6cJZlG9hpGPp9G5oU18UKPeem4YXBt5F093M9 QwlF6wi6DURDH2dfF33kiCsI4DQjAnifBsJvPfdz2jfC6Su1mlohKK3jMLoMkbjoFdRJ V9W1Q4Qt59+FSjbdCN9VQ7/GRo3XYlxMUT/BnbU2Tcg3O1+qnO0VlA1Sg7WkGI09fbw7 4Mr9VbETIIswE//ai3553McjrCH17OM4BkQHZez84LYEBh0swfSf38UHj/BHIO6bFOED zV6Q== X-Forwarded-Encrypted: i=1; AJvYcCXr1qyTKXdTABanNQ82+shAquWo/nhJiObpzyaC2tJS+YMSWG0CC5a5IEJTAt200VmFIN6ncqcO0EIoAuLJ5W+68rGvABA36q8UbOJzqw4JedHQ X-Gm-Message-State: AOJu0Ywh/E+3yvLVM6xHPM/LAIUi4HyItnHQkjxyTYDh6qjbu3jpRTtK 5HHJDFqJ6E/yrEsJOCgk7Ec7uEfbKVyz82vGeZqreqKTlhn8Veuvh4l++0linkk= X-Google-Smtp-Source: AGHT+IESXedZWS12j/IBeLIYCIeiTvUtDhGnVVmwc7Y65AKvMiVNSuQO/q5aF56JXsx/yKl9XqaeMg== X-Received: by 2002:a17:906:b889:b0:a4e:101e:8a97 with SMTP id hb9-20020a170906b88900b00a4e101e8a97mr1828471ejb.65.1712153836735; Wed, 03 Apr 2024 07:17:16 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id he18-20020a1709073d9200b00a4729f093ecsm7737819ejc.53.2024.04.03.07.17.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 07:17:16 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 03 Apr 2024 16:16:55 +0200 Subject: [PATCH v2 6/7] wifi: mwifiex: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240403-module-owner-sdio-v2-6-ae46d6b955eb@linaro.org> References: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> In-Reply-To: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> To: Ulf Hansson , Marcel Holtmann , Luiz Augusto von Dentz , Matthias Brugger , AngeloGioacchino Del Regno , Kalle Valo , Jeff Johnson , Arend van Spriel , Brian Norris , Francesco Dolcini , =?utf-8?b?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Cc: linux-mmc@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, Krzysztof Kozlowski , Francesco Dolcini X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=901; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=44MLP9zefnsNnal/9x3LUH01f3HB/XMi7tqRa1ODu/w=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmDWTe16dq1dJEsJSnP/kRyVGwLiEnTFn788+oV GGtYkan9UyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZg1k3gAKCRDBN2bmhouD 1/9kEACCfFciE1oJa5A3bFkEqBgQPN/py7DctCjUn70y9z0g5ME7fMcUi9khdsK8OM3rvoqne+o U8NNqieNKtAO9IMi2CPA1wC8M4Wh9e4SCx5XngbxiNWP9/eEAnHvBGxckTaLGtPrX0yqgvpb8zf 8DDyI6avfAZTM75Goy/SBVEFEQHhNDXHBwAsHJfHHerATA2Eb0RtNfrdl6KZNHpw9dBki/Gqguq SmFaK64ZzF3NvOxY3j0bnSd7+TSXkt/XbCu94FYgP69uva7f608NittH/9PlF3lPqtwoMFZuite C72R5lG5ygVaTQrAjmpVPU+ptiW1S4WE56ZoAMnE13XJ40cnXSfWCTvHVkap0FYipYZJ2jbI6ZW T52u7f1yoFmxcJMxt+wi0OFJ5yr0sRPZ4ykTk0TE0FEnjdfZUTra0qpR1eTpP4SwDyNKwTHqerO 7mCz2E+zeY7hHhvcaiaVLD67Zh3oiZaz7Gk0bCdz+AIZSS4+r/eIJZPXCi87hUJG7mzgB7kCyKO n629sK+58CEmUGqaqdYlJyFJhXPRHh0x3psIBUbElx8S/NNF8VpPJ+ayj+xk0YEQBcco9ZuQjVG XvGW/Qwa5uZQp0HPCL5SceQ0/zwQULALaSmtsD/ZYO5Jd3u1gzfyw0+kMi/gdZyZ+KN53+foAhu PLE3iIJrkQ+zufA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_151718_270592_68EA7D0A X-CRM114-Status: GOOD ( 11.33 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in sdio_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski Acked-by: Kalle Valo Reviewed-by: Francesco Dolcini --- Depends on the patch in mmc tree. --- drivers/net/wireless/marvell/mwifiex/sdio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/marvell/mwifiex/sdio.c b/drivers/net/wireless/marvell/mwifiex/sdio.c index f41048b5cd3c..bda9b2b8a1f3 100644 --- a/drivers/net/wireless/marvell/mwifiex/sdio.c +++ b/drivers/net/wireless/marvell/mwifiex/sdio.c @@ -979,7 +979,6 @@ static struct sdio_driver mwifiex_sdio = { .probe = mwifiex_sdio_probe, .remove = mwifiex_sdio_remove, .drv = { - .owner = THIS_MODULE, .coredump = mwifiex_sdio_coredump, .pm = &mwifiex_sdio_pm_ops, } From patchwork Wed Apr 3 14:16:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13616377 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9813DCD128A for ; Wed, 3 Apr 2024 15:19:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cnRU4IuiiR+L4DbUNFcvoGVCrcztEel/ynJcAah208g=; b=Ky/Sgv8S+A15qy7JpgXE3eqs9W RqGJdrg6iiqkyvAvGwurZqXemIpsPEuE3xfKU6GB64uh7m2+bWhfiAKN7qqR+0OyHI/r2J2fkDV4g HDzZlh5glSQxVWRyDv/BvuQUaemT1DczqFsHOwU3qdfr6prVZIZUALazvloMTKfz2X23yidRyWQhs 8U6KFt5PflNyBsl+HgiyVF8wwmjsBr6slB6Y8KcD+4I4bz/dloj3twehcp0PTZZuezGXyNPdDwdo6 OVLMcmeHJjQWDq0oqo4t09UNaTroB8ITIy7YZ0jgkzTUhYN1DSp5KUSGWZDqbRGEvFMPhWvMUQVgR M3dbls8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs2OZ-0000000GhT3-0mxq; Wed, 03 Apr 2024 15:19:23 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1Qa-0000000GPjv-2PDx for linux-mediatek@bombadil.infradead.org; Wed, 03 Apr 2024 14:17:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=cnRU4IuiiR+L4DbUNFcvoGVCrcztEel/ynJcAah208g=; b=GSPDAm3UwigxuaWdK3XsemAq1S 8X/3Qx5e+bJ/M2skcS7FYjWWzzQTUsGbNTrdlIAesvQYq200gPjJZaUl6nCjHaCiBVMytKbmy6rcg tDK97j5s9wTDNIEvabodbFAb2Otfm65iXRM5sQ9mvBt1J1kq+sthLUNfbX/a4PtwLlnFlN/RnAuKy 5NzdnmiqPSe6ltN/i8bfDR5CvBG4XXkdW/JkdLqKmwwaQSI2RHnIShIiSNLnCQDQrtFSGrxtWF6Tq HGQ8qJhT/Aopl/F1/d1waOU6JAZSSUieFLibQ3RyJ/7hP6UB+fVx2z8lEOpwvPvjGDiejIlgFmlC/ kyFDHTrA==; Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs1QW-00000004GXH-10M6 for linux-mediatek@lists.infradead.org; Wed, 03 Apr 2024 14:17:22 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a46a7208eedso839844766b.0 for ; Wed, 03 Apr 2024 07:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712153838; x=1712758638; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=cnRU4IuiiR+L4DbUNFcvoGVCrcztEel/ynJcAah208g=; b=CpCNzrtBRfW5IFuSFkU4wSXBOMuNkmDpwX83T2gNcpUhnwy5gt3+VXIVDWWGDeU1FS LxFloKkGnoa/ofVEnUhwW9tX1xf26LFgUt2BxQWbyHT8uWYWVyQRVPvPDFPlcBhv84pX b2aLgzoqxSnWwopQsX7Mi/Kldh/fgkr1C3MsRuKcZviA8Xcnt1axfK6sCMTSBNGbQRXa HkxX1PoIkOspJelwkVICaZOsFR39RdBKYo1BKOhrADl02QVOKhwKuWDDR+IYiHEK4ei7 udpEehjp8nxlCpZemSiTvTRW6kCkxLFTJF5szpZUI9grKqaC8ExjL6Du/aKudVV0Tlqt p3RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712153838; x=1712758638; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cnRU4IuiiR+L4DbUNFcvoGVCrcztEel/ynJcAah208g=; b=gRd64Px0J4ALLTi6gGh2mDxoBcQiLNO58S12hIe8RlhEhbpEhYwlwiMMvee32rp79w hh70m15UHURsAMD01rZfRhOsr1+yRde1rOtnrxaR3+8fPuMU7jeFFEIXv25omb3nJXbi IrMIjhFpFp2WxIS3XqZXjVTiP/165VUM5pk8rVHUu+DqtQUfo2CfsKjtio91c2yauZV7 dGXNED4Vi/0M22MRhz/KRbrCgC4cWRmDTfoXJfSwkaEqtuVv47XlKct+oxR5j+jOIFxq KHsseSRCpZDpmwGvjlYc4eeaV9FvqFWgpdl5hF3iDkePJwcVbMsHZZJvn7n9vTQFjhnu fNDw== X-Forwarded-Encrypted: i=1; AJvYcCVWIJtdf5qtN1Tz89qgz867d6kmpZhitPmbgJhJBaISwCi28cmQGgLaJuufbADswREaIygzAiza51NZq4pp/EeyxjpnVMCvznKr0uUBjCi0a9fE X-Gm-Message-State: AOJu0YyBl1BGOlqF2dcQfHkI0OFJOREtzeVlnjXmp4+wwXaaFjzj7Pt+ 71++OCS9cabB09z1aUbqnPx6JeVT/EFn7F7neya70bOIVP08o78fQhjcf8MuO/k= X-Google-Smtp-Source: AGHT+IFTX0zGPUE9Ns6+NdhULu8lAEjCjxyg2b/cKN8bqqMv3ElMG+Gylzpf3w9rj3hUtOEzVIzlxQ== X-Received: by 2002:a17:906:da81:b0:a4e:a114:1afe with SMTP id xh1-20020a170906da8100b00a4ea1141afemr1688370ejb.2.1712153838464; Wed, 03 Apr 2024 07:17:18 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id he18-20020a1709073d9200b00a4729f093ecsm7737819ejc.53.2024.04.03.07.17.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 07:17:18 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 03 Apr 2024 16:16:56 +0200 Subject: [PATCH v2 7/7] wifi: wfx: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240403-module-owner-sdio-v2-7-ae46d6b955eb@linaro.org> References: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> In-Reply-To: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> To: Ulf Hansson , Marcel Holtmann , Luiz Augusto von Dentz , Matthias Brugger , AngeloGioacchino Del Regno , Kalle Valo , Jeff Johnson , Arend van Spriel , Brian Norris , Francesco Dolcini , =?utf-8?b?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Cc: linux-mmc@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=795; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=uGEZExd5go3TxQ++ox1VKkM6W5qVi0yKE/c7ScITjdg=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmDWTeqS7abKdxjbX/ezfyCtRmlw7qW/HCPv7mT 6zlnQ7KYKeJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZg1k3gAKCRDBN2bmhouD 13ktD/9YFZuqZloQPg2ULSo6Tu1Ci1ahN/R5OjRUhoWDGVX8+2s91o6KVG79Tj8eEzmgBAY7y6m CSnfgaDDoklC/CohY+LXdWsdFugKHpTRCrUo/hHOWOMWn+IZqbt+KAuI4BKWIZVDLkRvUJtAtJP scnKqM6sovge8LFoZ+Gcr+OlBPWOH0gr47r9Um12eXr7Api+Hi8Wk5mW875paXmjwXNu/UNGO8g WcMCyioIhn11Mmj25rSCrra/W/K7tddspeBv3x02+CWFAVxsmmvtCG1A0Tfz+2mWyYKWtJMicb8 QI2diPO/Ivim8J/8yfaNkGhY6VrR9VfpfCoiRasYy61aKO7ZQoyAgMMLtvTSdxZ5KrEy5Za7Gy1 3nnUzpDzvs9IWT/BRvgo5CKHAlEta+bT3rSXez2TQkSpfzyfMxk54h8GOsZdYY4oYqC5wPTyxWn 4W2xkTLU597C1pauM1MwC1WRcWyXcdb1Ui8WsX7zsQd11xzKm4k1d2NgQh+9xeMaK84oqkZLZ+k Z5/HzM3ZS81FPFCjTkG1YbwCbmlZuYBvMSmqA1tSrVXeLOGv9kfTilKwKvYx9rc0hiEjpeZdiiP GSaQrf+giEjdwugOrcuItP/4hDJxVB/zOqpAczlXm6+JfSrMUA0J1rvXxNedEN5j2Vg2yhdHFcG Iuh94f8K9gmgdxA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_151721_077604_10682B1E X-CRM114-Status: GOOD ( 11.10 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in sdio_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski Acked-by: Kalle Valo --- Depends on the patch in mmc tree. --- drivers/net/wireless/silabs/wfx/bus_sdio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/silabs/wfx/bus_sdio.c b/drivers/net/wireless/silabs/wfx/bus_sdio.c index 909d5f346a01..f290eecde773 100644 --- a/drivers/net/wireless/silabs/wfx/bus_sdio.c +++ b/drivers/net/wireless/silabs/wfx/bus_sdio.c @@ -267,7 +267,6 @@ struct sdio_driver wfx_sdio_driver = { .probe = wfx_sdio_probe, .remove = wfx_sdio_remove, .drv = { - .owner = THIS_MODULE, .of_match_table = wfx_sdio_of_match, } };