From patchwork Fri Mar 29 17:24:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13610868 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 662C5C6FD1F for ; Fri, 29 Mar 2024 17:25: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=kFzm6a3OkT0i9mJjLjkWWJLXNlo1hESx6fgfPVhA+Mo=; b=D84ioNc4WEWIXL2PjSBiallw6P IghGLi7qIpCmCPDqXlk4vL0LGQOZZeDMnQrpAzwBabyhsJ0c244lcVX1SSdS28xqc4JC5cfBuaPd8 87W58bEwXXiyQ5yuL//WgnV/aOXwMIHq78xDs+DzdKi2vE3XljQQ/U4Xl/s57vat/yLKipLIp1Meh WOHqSsRPmQw/8NerNBIY3qrT9d404wN6NLhZugxzoERdDugnUsUQ7u168L+13QreX99g1gI9rVZ4v ThmASNYeR1P3juWoTNIjXm43mtXxHkEYPEYvOTriRpff8qw/0y81Feka+JKTqCLSVdoTpETU8Y7rz qwgmYhyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqFyY-00000001SkK-20AA; Fri, 29 Mar 2024 17:25:10 +0000 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqFyH-00000001SXZ-1ciZ for linux-mediatek@lists.infradead.org; Fri, 29 Mar 2024 17:24:56 +0000 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2d29aad15a5so24623971fa.3 for ; Fri, 29 Mar 2024 10:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711733089; x=1712337889; 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=kFzm6a3OkT0i9mJjLjkWWJLXNlo1hESx6fgfPVhA+Mo=; b=lBETSi4qyxA8CPO5Gno6Z5yUgO20lFLj+EcR53K5gadZmJ4TyhKOMJalYXsw6+70a3 7cAz9QIzZRxfciNMjuYIcfyGVtMfrqn0lnj7iR4ayhIqkvPSwblpZJi5yBOf3hFHOGMK lc/1xrnnvjuEeGsCzzAZq7H7KzO9r2KuqsaNWTgMqBNc20HiysG8o7b9YAU87daE6AUK siuF2UoQDNQKH28AGutzI94SuXzNBaHwvyzUqrsJEYOKFtdJ23m0dsB2e8Dg95B/VluN SLBs6kmCjWVPuozCelKPfVlgb90l6ZgukhfDojcks77kBR/zbfY/jLfmryvljnmYjUHw JxlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711733089; x=1712337889; 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=kFzm6a3OkT0i9mJjLjkWWJLXNlo1hESx6fgfPVhA+Mo=; b=byNC3gSnvdaW+nBTBATou1iWRHl5qZ7+JVPHdDc9yka275XPQA3jhd2GcIv7sEgpWc kn4dXDP6LWARVaOKp5oKpfi1i+PIaO5MVtr9UDtXuvmzHBLdnrYm/1HdIxb3ZHf7fEwg PNttcGQ/J0IeVQASQczprhwx7E/iYnCKBnENvM39zoXg3dhtllnucueCLu790Sa6fgp7 kJu5/P0z/USOStX3E7zaNcayT1SRDuKGMF2rX5XC4txIecFUHGHyJ3Y2JjpP7dVye4zP zoN4dlMb4nVbhLF4DIDCZUj9C6Immj6ipfORFW5j3XQINyDI6se67/9oV77NUF3vPTaL B7RA== X-Forwarded-Encrypted: i=1; AJvYcCW3M9ZuQMga/6IBrGVOIJ7jdpCQ0K3whjmIYuYqas2q80Zu8INlwU/UMVTELEey571uH38EX5a5FemLBKXO8UmjSOiuN4TxR56DyfXXs3A67Syo X-Gm-Message-State: AOJu0YzyWupWrGlWjjhwYD0BADqs9JF1xVONN/q7t0khkUdsTQX+Tykr +HKvr6XjWXojN13/sefH6YtfWJv9kyEpILW6tZUW2aczjM36l7Tth/Fq5aJIjlI= X-Google-Smtp-Source: AGHT+IEvlw0UDH7tzNTWU9VGLGTzRW3UloZfuSRTHRpoMppAqvCzJhzmyXnGRBdjVA8i4o7Ah1qRHg== X-Received: by 2002:a2e:aa14:0:b0:2d6:fb69:114e with SMTP id bf20-20020a2eaa14000000b002d6fb69114emr1610147ljb.21.1711733089178; Fri, 29 Mar 2024 10:24:49 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id v8-20020a05600c470800b004149543c82fsm8491069wmo.39.2024.03.29.10.24.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 10:24:48 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 29 Mar 2024 18:24:31 +0100 Subject: [PATCH 1/7] mmc: sdio: store owner from modules with sdio_register_driver() MIME-Version: 1.0 Message-Id: <20240329-module-owner-sdio-v1-1-e4010b11ccaa@linaro.org> References: <20240329-module-owner-sdio-v1-0-e4010b11ccaa@linaro.org> In-Reply-To: <20240329-module-owner-sdio-v1-0-e4010b11ccaa@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 , =?utf-8?b?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@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=2435; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=qIRA9OHgdR8YIBTlq3gIwcNOO+uS8S8xKPRXlpB/umk=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBvlXjkx37wyBAQGQOT6sB1E4cO+yYNWsO5eLT rZK/pkw8gKJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgb5VwAKCRDBN2bmhouD 12Q+D/4r2bAXL0I+Rva8krUxwDKONjhLy/RAdoomv1G8VLLxgxmRMOfpm1Pkxfo9yTW9xR0MrXU F0kxQO2ER7mBPNdakHZtypI3ta0tuqVPymL4CPLM+PlkzV+HQeerwPcrRK47nag4Hp96k1+UihU 2mXL4J96PzaFw1gUSyVp0R/qXXbnYL5mHdRtQODuH3UKrGles3CpAGCcNNJ0IbRGizylng4Gydd P83OjP3n6MPDstQzggysCFJ6SwZ8Xfwx3KGZdIezOx/iHBAKnezGHYRbaM8iRTkVQ+/poTSmkMh IKPK3lqz7DlsykQ5m6hW5ON8FKt0wKzepa7yR5dG0z143oWXLzCGrQXLaclD7preMMjprbuyDpn pI/bzPvl4IsP9DPOXQZP2Zs26nJghFSH2i/U6awAMDC2p6E/fsf4NVw+OQTVm8lkSStZDzV6/Re 7mYjBBMVt3wMA4PN7Gc3uidvAQyYOdEDQeS+iUSlpLZ3V8b9QiiU/QGirxRmvpNHc3rr42O2XPR zJWsf5wVpTTlEGkl4WojuuesQzHs7Pp5xjl2L+GfiQ1vLypFxr31wnjMmqUTbHfhH0SWKcA+jke SaIstusD9D1XQLVDVaUEowVbTM/223LViZ8CIY9saoDAv5BwcQAVxH1XFJA1TkLrg+GybsqZ3X3 rUDwGILZTCIgEyg== 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-20240329_102453_516329_E0E6F25D X-CRM114-Status: GOOD ( 14.93 ) 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 Modules registering driver with sdio_register_driver() might forget to set .owner field. The field is used by some of other kernel parts for reference counting (try_module_get()), so it is expected that drivers will set it. Solve the problem by moving this task away from the drivers to the core code, just like we did for platform_driver in commit 9447057eaff8 ("platform_device: use a macro instead of platform_driver_register"). Since many drivers forget to set the .owner, this effectively will fix them. Examples of fixed drivers are: ath6kl, b43, btsdio.c, ks7010, libertas, MediaTek WiFi drivers, Realtek WiFi drivers, rsi, siano, wilc1000, wl1251 and more. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Francesco Dolcini --- drivers/mmc/core/sdio_bus.c | 9 ++++++--- include/linux/mmc/sdio_func.h | 5 ++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/core/sdio_bus.c b/drivers/mmc/core/sdio_bus.c index 71d885fbc228..c5fdfe2325f8 100644 --- a/drivers/mmc/core/sdio_bus.c +++ b/drivers/mmc/core/sdio_bus.c @@ -265,16 +265,19 @@ void sdio_unregister_bus(void) } /** - * sdio_register_driver - register a function driver + * __sdio_register_driver - register a function driver * @drv: SDIO function driver + * @owner: owning module/driver */ -int sdio_register_driver(struct sdio_driver *drv) +int __sdio_register_driver(struct sdio_driver *drv, struct module *owner) { drv->drv.name = drv->name; drv->drv.bus = &sdio_bus_type; + drv->drv.owner = owner; + return driver_register(&drv->drv); } -EXPORT_SYMBOL_GPL(sdio_register_driver); +EXPORT_SYMBOL_GPL(__sdio_register_driver); /** * sdio_unregister_driver - unregister a function driver diff --git a/include/linux/mmc/sdio_func.h b/include/linux/mmc/sdio_func.h index 478855b8e406..fed1f5f4a8d3 100644 --- a/include/linux/mmc/sdio_func.h +++ b/include/linux/mmc/sdio_func.h @@ -106,7 +106,10 @@ struct sdio_driver { .class = (dev_class), \ .vendor = SDIO_ANY_ID, .device = SDIO_ANY_ID -extern int sdio_register_driver(struct sdio_driver *); +/* use a macro to avoid include chaining to get THIS_MODULE */ +#define sdio_register_driver(drv) \ + __sdio_register_driver(drv, THIS_MODULE) +extern int __sdio_register_driver(struct sdio_driver *, struct module *); extern void sdio_unregister_driver(struct sdio_driver *); /** From patchwork Fri Mar 29 17:24:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13610866 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 ADE99CD128D for ; Fri, 29 Mar 2024 17:24:59 +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=GhPv9uNzNlnN3t5bm/Vtd9WoPCFFzK8p2hzOyPKe7ys=; b=k6D/k/IfDpeCSwEO+BHmwoXfJH 3i9JbL6nwz9yOFyeTSzY22VtmHrqrOwLj5qt4bkRb1odPrhZufaVvV2cir3+Qpz56LgXJzWgIZL7B 2snIjO6jTE9OJpj5tQzbJmeYGtxYOxN2TEqx1VryQPVmC9Hxu9GgeLPitgXZj6srT9oIF//5ZUxfH MTh2Q+Ky7fevAPUnqPLsmEPEIIHoYuTQkhci93cOyjI6sxfebwyam+nAouS3OQQSsIT/fCD+T3VC9 yM6BzXBx/bZZ56GteN/iS8UMG0OiSJ9LjYU2wGJwKqXIffQGIMe6boXmS+/H2vqUxr4Lj3zSGUl0z AuQgMtmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqFyM-00000001Sca-2acP; Fri, 29 Mar 2024 17:24:58 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqFyH-00000001SXe-1eIL for linux-mediatek@lists.infradead.org; Fri, 29 Mar 2024 17:24:55 +0000 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-41544650225so12769225e9.2 for ; Fri, 29 Mar 2024 10:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711733091; x=1712337891; 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=GhPv9uNzNlnN3t5bm/Vtd9WoPCFFzK8p2hzOyPKe7ys=; b=SPsfEazgoRdUlQaX9nSWbRGEaxAMgZzZAG9qgqd+ZH2un4eO5ADxeaOtvz3YtlfAWq 26m0sGkKyUR/9qTQEBWt/4o7RsmyAMM1o46oL/nHSzNtwLh2Zyysst/XuMLP6voaZMcG p2rTr0mWMy04+RhfWdz1OHAVxy6P+NshNy0/idBB/gW6Xm7HYTQ+sTSJN1NVk1BA4ozo gxtMIMTjlhugQ3SqPvawj1fJXFnf3n3CpuuqD40ciFlJbaa0uF/AP5HOjZIxFJTB7NVp 8+KwTNgxqh82gbjQczsffJVAWBAp6fQoLgL7tczRRK7WouSDRZyOB2dCi5boYozo3O7p 16mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711733091; x=1712337891; 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=GhPv9uNzNlnN3t5bm/Vtd9WoPCFFzK8p2hzOyPKe7ys=; b=mJQb5mGX5WrWHGU7RAXSWf3bHC5PnqlhbF3oAom41Fdf3pXtgAba9ZlIxcweEmpUZl pLHlXTXMri0hXd9iBBd/ebazGjC6qTxyQy3X+hUaou8cmCsQAjzpO7mdXk+MMOofDWVr Zo64G4bGO28mv2N6i8HXrYXfWRVHvBNNKpX403NqA2pRoSZAsxFriPt614GmlD864z0b fhXHMmDbCkTdW6CgxUT2iaZMZs9D9vKp6K4pf/TiRVA4CveRCBmWJdruOmXs9+MWYz8k SfVmlhcUSjY6i+Ly2RNkF2DotSHZPREsX3xcunzXZBwjYy9Rh5BQ+LJXqDeOyZDHyGAW WkXA== X-Forwarded-Encrypted: i=1; AJvYcCUgkEqgBZdXFZpMHQ0j7jOytrsgklsicpJXySNAYu8D89Qp4rIXU+8DaRzkbQZeXcSbLvQxisIsjxhjV39xg7zZ4K3Mkp17tg8cfQ3wLF2lX8WE X-Gm-Message-State: AOJu0Yx2PIt3CjmZR2FHCW/v1y8MyILqoDMbtYirX4TBZUs9o9tKaqmS Vfgbo9tf9bIxS01pOOb0WCOUVfibj9xZ7dki1UHh+PD0YXO4Me+xoTwb6QPfD3Y= X-Google-Smtp-Source: AGHT+IHtYKNLRf0lt/+X8+eWcJn/VGUD97lyqseZN1lBqy+We9hdEYMyYTdeRsMpokaPE1hUiL48AQ== X-Received: by 2002:a05:600c:548c:b0:414:860:bdc5 with SMTP id iv12-20020a05600c548c00b004140860bdc5mr1971848wmb.17.1711733090950; Fri, 29 Mar 2024 10:24:50 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id v8-20020a05600c470800b004149543c82fsm8491069wmo.39.2024.03.29.10.24.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 10:24:50 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 29 Mar 2024 18:24:32 +0100 Subject: [PATCH 2/7] bluetooth: btmrvl_sdio: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240329-module-owner-sdio-v1-2-e4010b11ccaa@linaro.org> References: <20240329-module-owner-sdio-v1-0-e4010b11ccaa@linaro.org> In-Reply-To: <20240329-module-owner-sdio-v1-0-e4010b11ccaa@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 , =?utf-8?b?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@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=732; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=pEH88/Mvde7IOqLLQxygmayTZOYyn7iF1rcGpX9W2Dk=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBvlY9jlnYndvqf4ycZsSLg8vHI3GcQCFdx8JA nKG7a+rQTOJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgb5WAAKCRDBN2bmhouD 100+D/45p3tm81nQpqO6l6fT5LIfUPqYUD+5qLGAv/aTKvxeR1Yoiwfz7NpAwUBnyXCBk4XhFcP Ua4kpdZv5BN8cum+6JCjXVf9Ocd+zqHQMcA+E8ydJLFDnrze7mebC3CV4E0hXseHWx9BnrNMW/S ORtSDUSspE6eK7ZldHdULSpWDlil715pyv2mreTgfId7O/qp23/Uf6sGU2ggjBmG/7XShm2m2ls A5bbVqHvAeWn+LlnLq2kVcfTVA6RiqfISLgnjkP4CSLkMX8ei3mRaliwKRcp4NRdzCzZqUF59Bo tBJFmLTBeOjbIGtuT/Y2nQCmELTX42Vy1XCoge50qKd7hFCalX5HS5IF7qFCTEt9Ny0oxGIzmD6 LNdGn94V8xmkCxuVZ54z2+chM0jF4rHQ3Vc+3ydZtoMPpd4h1zbDi6WzRniqsmV+36WgKeiQI5l 9+XGDH365JVRpeKJvyCejPc+dSYivtHvch1qXIfl7oIczK2k8ywUCki7anHKIQy7AD0RQqhE51x ud6O7CvXO/c90RWS1v8TRMpt5Xb/X//3fK2naX9rxz8C1ytLivxTgDLPmRTy88SmEUP9NCgMVV3 nElrYtsRKiQ4liVrALFnVJualZhP/pvvh6NcPC324SgjSwfwhHd+onfWNDrwHsw9bQn+qEF5uVH 0/iiDkzzaO2uI4g== 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-20240329_102453_496548_C79AE92F X-CRM114-Status: GOOD ( 10.45 ) 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 first patch. --- 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 Fri Mar 29 17:24:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13610870 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 CD743CD1283 for ; Fri, 29 Mar 2024 17:25:29 +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=LcL5hqCrDYbrBJKg6yubNMlPGipEeaEcniEcZ5X/ejM=; b=KP44jtu6S0zBE5pmTlayD+3ort hYpbxvgyLsl0Nv/vXoViko7uv60Ia/kllRDR6jdOwsZubSj+cD2+lFCZcSyUdjFzAq1NTLRmLM18h /nQ6oTMuymj4EheeRHRTB3pzUz3jFMp0AX3qu5X2UV+px9W2/ek/4zVIqcPo6Pt4zNQ9APqfGa7Lh wjnDZr1tGmb9j7gZPJc+/LMYcsFymCvpaupaX/YuOx4C3BL9U7yYt6Vm2RcNI3p3m7kjbz/Dilu/y M1fTHJdtuElXSijVJs+XPWAphm84WRZB+f6plnrd63TXlENzgIy2WeE/f+iy2r5dnvF10saZ0cOCM lkCmvQWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqFyq-00000001SwJ-4AWg; Fri, 29 Mar 2024 17:25:29 +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 1rqFyL-00000001SbC-34XV for linux-mediatek@bombadil.infradead.org; Fri, 29 Mar 2024 17:24:57 +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=LcL5hqCrDYbrBJKg6yubNMlPGipEeaEcniEcZ5X/ejM=; b=TLlCL8CFEDhUtHyz9JflYWT5hR xzmCtxx42Kicc+Zjafq9vxNf5RDoSoWzmvAwRuU1faqHaSzo6XgkbeyApCcujQhNfUqVHulsZWEv4 oRPXk4G+mxG1D1ZTkDn2xB3oy+YfS12ZFqyDsZFf2dqy0BZVMggsoFx6ehS5eso08SM46xjOXGnH4 nRm1PFlNPyJgBW9S3d6oGGeYT1B8IoW7kYC5pIxKgAD+HTwMaC3ICMGVqZ1ytwmeWiPh9dzm14SbT XHxntnYKwfYDEtzicvYrhYg6xGW0ktkNqqdKyqrpJWPcvf6c0b9zdo1JnfLzgNZgYGT4cyJ/qT04w fjPVgKvg==; Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqFyI-00000001fsA-1xe8 for linux-mediatek@lists.infradead.org; Fri, 29 Mar 2024 17:24:56 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-41550858cabso3985135e9.2 for ; Fri, 29 Mar 2024 10:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711733092; x=1712337892; 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=LcL5hqCrDYbrBJKg6yubNMlPGipEeaEcniEcZ5X/ejM=; b=x9f8uSQ0H7yAxg/pqq7N0kaBLG11rQ7lDfHOOOJYFPdrwoisRZrgG8BfvWMdrsfkwj 7ocl+vXQHR3RzV9Glfx09sfebNpLU46cv4Rn15QvCJVRxxd3MoWMr5JtMd00mEa2gtnR s3I+1Rgiz3Ps+AgF5240gD2U1thHtPt6DbnDgUBTRA0UB3NlEk2dWGwoWD6IuR33/SLZ H9Gc0YCI7fO2btVE4OTqZMRqyeG9yKKwY2tiyhJUaRTCdme2PpY6UZoTGoOh6oiEbHH/ a7S+mBgnGYUKWhd+39wnz4X3L19W2FHUdWv4h9v8IqByQO/ffWmHil8w5X7JzEKR+I0n IXOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711733092; x=1712337892; 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=LcL5hqCrDYbrBJKg6yubNMlPGipEeaEcniEcZ5X/ejM=; b=EeGXG2tKfBAr1qvAmaMCVJE4afR9ASPpiDrrW6FuUzXspsjWjR8BJ8VCl9WKI9Z9IL AfPMz+ZSugZLfqSJEFJ8OuJ7WB3pxr0bvwXNhDAQI9N001OpXLnRtCnh3dh3GFC+LsKz h+YjXjaUX3nib1BWHsnrDHQ+iihIpSkbY/XXh4PSv4wryWk1imIKMyEnoZog+s8qDr3v moFGChQJFYODVxXDWgcccO4O73NWo15Fg4rfoTs3UY0kDE7c162T8rAP+uKhygrAxlm5 dCUfQw7WxQnf+l6zuXi1Jc4QLmbmbfi8cnaoTGu8HP/bC0qyDbW6uEq4lhRGfKlKpLM/ qiVw== X-Forwarded-Encrypted: i=1; AJvYcCUitM54WCgJ31BSFEz0Xfdinsy95trdccflfxjzpMLn/4RrP1d6fR39IrPA13hkqOC84FRMhC6Q+CS0USCBCBOGA/HpkU2JPUSzqQmRDFlJ+HZj X-Gm-Message-State: AOJu0Yx/VB5gsY36b6VFg5TY/d0Nliuzj140aTQS6zuwiP7sEYm9C9cS SwU9CBcfjaxHP+PYXqEDKu29ydH0Hv3yQ0UXqddzgou8lRdrztaV8KbTIqlSk50= X-Google-Smtp-Source: AGHT+IHndS8nu/3l0eb+ocEil75C5QdKWIieUdDFgHlm/5IXoaqNdJplBaNZAa8mBAfYg5ACllbteQ== X-Received: by 2002:a05:600c:1989:b0:414:93df:bef1 with SMTP id t9-20020a05600c198900b0041493dfbef1mr1962459wmq.39.1711733092656; Fri, 29 Mar 2024 10:24:52 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id v8-20020a05600c470800b004149543c82fsm8491069wmo.39.2024.03.29.10.24.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 10:24:52 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 29 Mar 2024 18:24:33 +0100 Subject: [PATCH 3/7] bluetooth: btmtksdio: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240329-module-owner-sdio-v1-3-e4010b11ccaa@linaro.org> References: <20240329-module-owner-sdio-v1-0-e4010b11ccaa@linaro.org> In-Reply-To: <20240329-module-owner-sdio-v1-0-e4010b11ccaa@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 , =?utf-8?b?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@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=688; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=noXTH8RgGL7KawLoBkrEaQ5WJXIVuj5AlJL341+SDU8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBvlZscrGsmgUvjqJCgIZjHOxIlihzoLBO9BSY fg3/UkGg5eJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgb5WQAKCRDBN2bmhouD 10WFD/44MFDZMNzymsgjUnQ3eQYk9ZYGtWq0RvUzVCTg3RJAeC5QMaYgGOPTdILnysbGdc5pw1Y 8btwMyBPcLE0+s0b2snLnak9o3VA/IQeBEo1wDMxi6SUv+Spu3/w+KT9HGF/5z1M1+7MeGKwFEx aegcGkBu2NQ9W5RUGN1mN09SJA6PZWzNR2bhc2K5zyA5gCF85RV6wBVAEkfyp2dFdlDxer42il/ eHnLXd7fslojOU151TEO4etUgSfgbnqT966M0IFu2V5y8n5Gep05sxzB7lUOqGctZlHQWT4DutR 7G/TUMAyKFz8cq1YdMmylWizy5bxD/cWMndC78oTGKNv9geLyTz8+zN4BigpeWd2CNAF1Z9OQk2 rcahEfMMs/lR19mqhB/vi87YmOv9DSxXp4MJ8jlft2e6JOcnfCQbEuMKw+N4Kn8GjTipxbHuj9v VCZ1adA4/dSIRgnnqChOhoeMMNy/e6c3hf+sYVstG8c5vjTvVISk+yC26FmrnA0yBTj9HcycA4I zBhHz0yp3PRxoI1KM7w4XFdpK6Q1fzxFe1PFhEg5zyZ6z8dOBPLKB3q65szRxbVauRRHJmAB5HS 7YfCAGceDF7Q5RxbQT4890fa7t2cKuJGnnZ/X+hpW4xQXb+B9D04hmee0d+LsdlE9/1XcXZBGDW /rAI8sr/cdlqF3g== 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-20240329_172454_628804_7A903EBD X-CRM114-Status: GOOD ( 10.28 ) 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 first patch. --- 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 Fri Mar 29 17:24:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13610869 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 949C3C6FD1F for ; Fri, 29 Mar 2024 17:25:18 +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=tmTGzTEc4RD6Zxwx1L0++p3dHui3Vg8IltbV355Uuu0=; b=R7lKDa6m3ynvJZo+JOLEq4CbKR XvBf3KYoA2wWgsBrp5YPRVUTbyOfw2TBFLIj7fjFIf6F4GWW0voi8W9K0/HoaiXsWCoARXLjqSrAt JISp2MyeQJN+DG4fpcGPwnCaSCsRhTyFENXU8N+sngw0lQgEnDv6Du1IrdRFTyhWtcNOT4NVDsReG af9CPecMPh+6Hi0mHtSAZ+geGGvWNB926tQSHGvo6umZOK5Q89kkR6SHXuDO7ByZXCaFlahCpBDPD hcG4zhO0l4M9ngbAgF/+NuehTWTqfV8O89xvNHpsDGEoXKs8+X02U9akxSMDJPsg5VcN0rZw5Gqn9 xd+c6icQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqFyf-00000001SpP-3mI7; Fri, 29 Mar 2024 17:25:17 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqFyJ-00000001Sa3-3UAo for linux-mediatek@lists.infradead.org; Fri, 29 Mar 2024 17:24:57 +0000 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-4155271cb59so3844945e9.2 for ; Fri, 29 Mar 2024 10:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711733094; x=1712337894; 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=tmTGzTEc4RD6Zxwx1L0++p3dHui3Vg8IltbV355Uuu0=; b=YdpDoGscpaYysSVyJhzc85dSvmpUmkC5OObupDq6T/OrlzWZkfPsgofp3eIT4hcs5v AXHsJtcf5VTqcl0UIMnOreCVA7gQeBX8kRZ/cDO1TvsbFRAW1VqMCZoAAyklEhwP5ZD7 zA2nGdfGJfMOWIZQSJ7CZ6XEG5+HuzKSheBsikNopsaOicrXs3CnHjRQ75aDc48IrW3o WrdIFGQlIafoJSXQFLdo4g3oAD8bsnIgmRlI4TBJe0Z6pA3/4hbPj5A5WE0df/bodikV lMBfzMwGThMeRM7mRFVyh8ckF6MX+QZowUezdgdHQGaMEsjJWvEzEaHmpC0RvI3yd34d p4Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711733094; x=1712337894; 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=tmTGzTEc4RD6Zxwx1L0++p3dHui3Vg8IltbV355Uuu0=; b=UHUlKtxPYAilndJbxEYhjwbCSAlYebhkRC9hndpcl0dE2OLN6evFrmFhIuliqu61q2 b3AGw9NrTueZ6d19SH69nrgZGDUTMNys8RcTU+x5vOCf8m+E9QLgFv0wnyPhxiyK+MJC VUTpxhZxzp1wN1t0580NSi7vbfb4Qx4yCURtBE3QdXlSR2wO2HlZRsra26xwVhJ7/Kt+ s2bvW3XrZRnZ2k0jG4upOkH5CX96QuQViTnEntkXUpc2kdHS9yIzqcK4wdxd9WyhDj/4 rCo7y3+UL/H+OwoOGlzgk5fiRlFYuXfvISX7V+iKVMV+FYJUkExtXsbALITudPK4StuM HEog== X-Forwarded-Encrypted: i=1; AJvYcCVHUz2uPJPLREKJzMQ3qfIhiOUIYo8RtdfDuKB1njpdiy9ASKdIXPaVCAOMKhUOBAGVBzDvafuNZL7vTLPEk1jjOqCIWx23rGMnA5NQVFBjx6VU X-Gm-Message-State: AOJu0YzO5SOcq++sa3fYqgWQbB3Wsoy8OYffHAiyLmO0savvLnPCUFVz kmC/RRa8VDLi4XKeSE45gA3e/UZyIu5OrtX7FLb9aVdx1theChMkyHtq2yj6rek= X-Google-Smtp-Source: AGHT+IFKK8ZeHTH9ZbUBZLceILsm4M2liDcUbBqYMiyRy1FT3yEJ7TWMDJlzYPnYqROltzOu2fo1TQ== X-Received: by 2002:a05:600c:558c:b0:415:55a8:e1a6 with SMTP id jp12-20020a05600c558c00b0041555a8e1a6mr168011wmb.4.1711733094429; Fri, 29 Mar 2024 10:24:54 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id v8-20020a05600c470800b004149543c82fsm8491069wmo.39.2024.03.29.10.24.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 10:24:53 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 29 Mar 2024 18:24:34 +0100 Subject: [PATCH 4/7] wifi: ath10k: sdio: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240329-module-owner-sdio-v1-4-e4010b11ccaa@linaro.org> References: <20240329-module-owner-sdio-v1-0-e4010b11ccaa@linaro.org> In-Reply-To: <20240329-module-owner-sdio-v1-0-e4010b11ccaa@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 , =?utf-8?b?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@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=r//ZqddB0cZEwt61oNE494z55PwC93sH8F/mKwPOy34=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBvlaeTXWKNpgBui4m7Ij+L4ew0r+t6wYjZAdR BVOx+DRMMmJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgb5WgAKCRDBN2bmhouD 1zNTD/9CEupDb49ITSPMOkC5RRoFX4Hxx04rWRsvxy7+D2Zzx1UQsGwz8tEr1QQIcS05RUsYRi7 CTe7t0E7tUIJ0868rvcjYWISK9r1Wb3GsXOzE+vi4+8IdUDZawBJYmWVJWncC5EQ6X6aipNgMoV A3A1aeweQ2SRW/j4tSrw+AJfoHPVXBzDmCtGvSJAcut5TS82DDlyqYQ41yCvxP2Eq7e/0TLUOZe 0DW7xlHa+k3LjO/PFHfqtU5AG7yhxUA0QvrLxnnHlfLKyEXKKfVaeWjRE403Ecm34IRNUDA/GIw L9tt9166WoHjxHr+P89YUcg7YUlIxmKqluZSuzl1cz/xvV9bYRGcA3PlqgoXnoe/q17Vs0cgmP/ KvJv27nVcY9eAq+5WNeqyNwCQSSxboZmrpTkiVSvg1LhBAFqaE+Qn6PL1mbF3HNsUF0kB64Iyac rBLJZTLfe2qknwXfWl+xv/04Oyu1xMWWo0W2pyPIStmyNyTNyNtCCJYXVg+Nw2vQezrdv/adQax rKT45h+gEFfmekPRqx3rfWwqMXB9qqTOf6z9jIoG4TNYXnZn/HxufuJ7qiThb+JNRtbODqQASOg XyXbyNFhXbjlMGgvbFRsqfqdvxqiWFYYWRGVDVVi41ly8n+uw5VFCDvfsd4eh+Fk7g7mpO/K2k4 nqGuoZDWh7MoGcA== 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-20240329_102456_058498_34F0924A X-CRM114-Status: GOOD ( 10.41 ) 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 first patch. --- 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 Fri Mar 29 17:24:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13610871 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 0CB9BC6FD1F for ; Fri, 29 Mar 2024 17:25:44 +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=g8BmwG7Q6jYnzmtteAjttsKel77uSlwfKjjKo/sXHv8=; b=PrrSh3CV3e3wU+B0K8VeGwZLyf 1z3l4BL44RXT9lr4du0w1Eic/M6uZerurLV/VaWK3TzkR9TwK6WUY5TfJ4f68HvCJMfF0jjNV4CC8 pTIGp/7cOwRMaoAeXa9fnG6Sxlbe+XLqNs5gI+H2DOA2ugdlF5K157ZUGppta3LIWnHVwo6gMK0CP hqC05y+rA25SzI1kEGtqZQN68JbozJDk0E++DU5je6Mrnm2KHQwp6jTgIfJo0AvooJIRvdDST/T0R fq33g461es0MecCPG3AIdzMZC5S0IusPSrZKk9cfcua+4MfBSUFMklVHAGqC4HnSTI0AjQYJj58eG C3ccIy2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqFz5-00000001T5Z-1ky2; Fri, 29 Mar 2024 17:25:43 +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 1rqFyP-00000001Se7-0la4 for linux-mediatek@bombadil.infradead.org; Fri, 29 Mar 2024 17:25:01 +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=g8BmwG7Q6jYnzmtteAjttsKel77uSlwfKjjKo/sXHv8=; b=UYESKJdEtUL2F6t4PEnrkqhsI9 Xcn2AE92+aVfA2KVrr9JYJDUZAyyX1DAESRt0/R/T4Ux4OP1wK5igFJD5No+N6sfxSPzUpyh6iN6l HcYc7lvgSv5QRWg052SbPmmC944H9W3Vdj5Xq0mDoq17R4yAUrNA/iv5L8ksGLgzfj9rFsopj6e1T AJLN3bGlr5qBxGvNCM5cneYb/zUFNEcg2/zUCbLgkusmPhtFWu24L2XVwAtipbgSgA+HsPZRdwB/S AZbwdExoPteTzSw19iNUrLfcENUtkco68+9Uw7gLbgQVRwgi8ZzA2BUrLYzA6e8sSq9nhpol+CRTp 50h4sibA==; Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqFyL-00000001fsl-3ukq for linux-mediatek@lists.infradead.org; Fri, 29 Mar 2024 17:24:59 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-41494c040a1so14879185e9.2 for ; Fri, 29 Mar 2024 10:24:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711733096; x=1712337896; 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=g8BmwG7Q6jYnzmtteAjttsKel77uSlwfKjjKo/sXHv8=; b=LJ9acMZBvgjbe/KewIBCZPB61L8UDQopkxb9gtiV/Jq3+7XhuHj43h/k5RzHxT2r0p JoB9+1RCllTYEYZnIwlL7mgwER2jiOKS+CKg15HJCIwf/49JFndbO1wfqKGR/e2Xy3U+ 57hWFqBBA43yPJHtfP2dX0ocO0WWrnVDI8sjuSTgWMaS1UCIpOSTmNwbcRjgbTxtlcPT kMRDdGIfyG2+Av8Am0O9/AmHU8DE/eSH9JjPWhqIw5ETtMyADDEmqKFXlGViq5QaGWS8 f425B0VfZg16mDlq3XcJD7/wcVuinzyOVA7jOzO7pCc6fAY9nGms1L3ec5DmMaC7pc/r 6G8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711733096; x=1712337896; 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=g8BmwG7Q6jYnzmtteAjttsKel77uSlwfKjjKo/sXHv8=; b=ErAnZdvdKXPd2i0ttsW0+Muv5xv78axH+UOTXG3YUYpoegY68s/lSJOHINd96Y8wTT RNiEv44W2QKZ4YGnDGOmXuJIqGaJnPt3T4diQec0UzzpXk4S7Q6R39jUraXBYHJ6KsqU PrzLA1IR8nByTmcf+dR+vcoQkBYG9mrhCfwvp83Bi1jaxX4DxUo4Q60QDkhNJ2WmA/ef mN13D7SvY8Julgbw9NmLkbj/MJ2g86G5h5SW+K04kky1cv/ulxU400XBv8QTh7w6iTvb VrHORvoi1NvQjcnsJTm2dLOzMKBWtnrm2s35q1O+Q6BmN2AKmpMG3Ec/Q9f/LyzVo8FS 2ZlA== X-Forwarded-Encrypted: i=1; AJvYcCWz5eAHH/jp2v5bJMN7ZmNzb94Cd0d4b3C0+WA7ysnUslx7rb0dmqONofrg8COgYVqrlqpgBTumpRHxJtfU0fRoJ6IEWduOY16fK5JdRuK9WxdU X-Gm-Message-State: AOJu0YzRMLLvTMbWIEPVRctwLD/6tEWDyk2IggM1m5Kd2LGe0j0FfJI/ /IFK/CJfHh+Jtm7bLTRYP/bEHKAi/xH1Uz8jQsQNjnfvchrCL+Ijguwf46Ar96M= X-Google-Smtp-Source: AGHT+IGkMQKZmBwfysAyXcTOIdEaETGLP8XC6UQptvkkNiT6RrRdfIxr4AefhOFV8q8KgXAsCgTSLA== X-Received: by 2002:a05:600c:4f44:b0:413:2c4b:35d1 with SMTP id m4-20020a05600c4f4400b004132c4b35d1mr2416556wmq.31.1711733096290; Fri, 29 Mar 2024 10:24:56 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id v8-20020a05600c470800b004149543c82fsm8491069wmo.39.2024.03.29.10.24.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 10:24:55 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 29 Mar 2024 18:24:35 +0100 Subject: [PATCH 5/7] wifi: brcm80211: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240329-module-owner-sdio-v1-5-e4010b11ccaa@linaro.org> References: <20240329-module-owner-sdio-v1-0-e4010b11ccaa@linaro.org> In-Reply-To: <20240329-module-owner-sdio-v1-0-e4010b11ccaa@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 , =?utf-8?b?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@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=873; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=wDiiPdIToMYXQU5+yRee3/V3ANx19Hr4dGWjE2WOnus=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBvlbWI+uz/9YwUaNlefiHsHpsoaQewqU+4KoC 5vsAyo/lEyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgb5WwAKCRDBN2bmhouD 17wwD/wJZQBJuomWoovMyFzif8oMaN6Puy7t9a5St5yy/oTFPoU3mqYzYEazstQewmxHvQUC57q 12gVOI3lkjSN7jECNwwVrruhMnyzAPJX2Mj363zHzxxFAIWv02+1K2uoYMSiT3tboYo13zUUKAf bL2FV8El6mxFZoLTjYq+j+BQVkVDUxHH3vDDj5Gb6s5/CDQaSXMbzmJV3JM59LwxwkIRXOkDkp1 6r4wkWH5vTAefQZbKuKd0GY+kaQ80eHpOhz5R+QbBiAWJ4KJoEKLXHFeXZJErpRRfi9vQgl1E/k Nds/H3lTLJ/HIIZv3545bPWIl7uWDabBQpm+o75gegBXRaW7DOP50XRPktxUF3cdtxXqz4IP6/n f2Ef/MKjS3MVCOlVsVThZS9RaoNQKbuM3yhDETpqBOv6Xv98szOYEkYtr5EQmMMkqydFE3FS50D 30FIFa8pX2wUEu45dM3tEsXtoJn/CwiaDctGHRJfVHlBDC2pTeMT8eVp8SeRSEGIMmm4KNX4eHB PkQFlm9RMpykklRbyAQenHDshwl1WuDToLRkFW53XltZd8xXR4B5bYqMuV3Wdp8KN50y+1bUUxB Z5KPesX3r313jcBNZv7LfYa8aob+hVnPATZeEuObcXJCmEIndjEz5WZGaPdhbniutXm9FOlcdOm vozlrq6EJIGUBwA== 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-20240329_172458_252346_640615D7 X-CRM114-Status: GOOD ( 10.69 ) 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 first patch. --- 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 Fri Mar 29 17:24:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13610872 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 4683BC6FD1F for ; Fri, 29 Mar 2024 17:25:54 +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=Roqxke+jisLthE7YZS3ozhXKeGeqrvDxoYL7VwBZiOM=; b=SLUIX3WqBEldYvG8tDxEOfDizn AysSqBrUgOp3N6VLewrqZnZr6vGqMAZXptmwhs6SmpiwAWs3lPU1kuCFsggvhqLkZUc40vlRKXGcK pcHYVbix3VPlfD6TJpcqKSqeF+Q5QVV0fZZKS4CGf4X643Jw8eTt2uX6ZUh3BlKzvGicqyo7H+xO9 kjgMeBObaz+Ub7ZPY6C8tOcTE4VxVXlitoAiig/xfhIQ665eZVIv5XaZ11DYnitej5xm7Ri4Cdcg9 Jze82JISOzAT5CtL8qI/SIoLdk4XQg7GxzjtURkftziekL3XvkcN4hUTGhZf7kJ37PRBhgGy8rm8l 5npyYvsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqFzF-00000001TCK-2wwQ; Fri, 29 Mar 2024 17:25:53 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqFyP-00000001ScI-1X5H for linux-mediatek@lists.infradead.org; Fri, 29 Mar 2024 17:25:03 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-41551526477so3671945e9.0 for ; Fri, 29 Mar 2024 10:24:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711733098; x=1712337898; 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=Roqxke+jisLthE7YZS3ozhXKeGeqrvDxoYL7VwBZiOM=; b=X+5UOEmBroOcrAsWAjPZr6wczN/wdLp0CR5tWUeFPVyUQRTxrJfBqE7qIQGWm9QQh3 Cd11d/mykwW4PUvRrPEwyrXIU8GqXk0mgLSmpEXfjDs6uZLCKLM1tIZQUp3PMzb77lKw 3GFXSjXBpTpIqrrFh0gA/Qke29UjUwjLejOt8CAgtCTp6OTShVV2SNNR96daXbVTm49x wjyJbOYULIOQ7UCcj6O6qFjLAZvjocJLFvFJ/IQqJOGO3lzdYhVxmd7PZg1KaG/H7hvC aeYqVlcvpHlPOqGb9xoGPv+uaf4V1F/rrHyYp/BDfiwlBHBq0fitRbFxn8XzeHahRkwa lYDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711733098; x=1712337898; 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=Roqxke+jisLthE7YZS3ozhXKeGeqrvDxoYL7VwBZiOM=; b=V5AhS0ucAzGhbHtvRT1e4Ie4bmpLkqzwOAOrJBR/kxF48ouHhFaf9X806JMRhU/4Ku NW59kXjLEdSlT/2QDjRHONklkyUEC/1WHMoLmL8UpG56GsCfYYCsbfo6FnBl05ZA9aL9 +uafxlqD22Nhv0AbyorrUWtY+r9Ze1yaJVUWwpY/f6WbU6nzzHOCr6uCfo3/CLfXVfdw 7pW3FDDWcmnAouEaMKqus9OSePPvjRmjoAbKGyrW5xiBLTI45KZPUTkYFlkzBBgTqs5C zWKBFZoaWX3siyRCmXiP8XVZO831hw4dQY/yHdrJG52cbe9JWbMpGPkQR3QlVofjWoAQ +jcA== X-Forwarded-Encrypted: i=1; AJvYcCWrQta6MlsqBRQKtoTuy2Y0nli8Kc86W4Y8pT7cP7j7F4LzkuxK8Xx755qOOKv5kAsLH46hCrlrvs7rMBKwQoIzKWptV4+eSDnBuzSbfXPuAyjg X-Gm-Message-State: AOJu0YyJRi+y6Lq4SFVG0ekEmll9V12oLDEI27TkUlLIhkm6OQDu5LAA xdyEcHF9xMsp0cN5Al78PMIP1cpOj7kfOrhpLe3tB40Zxy8OaIuffdAp23J9Vr0= X-Google-Smtp-Source: AGHT+IHX1RYKXweNoW/4aWXP4wll4zlnxIIegaGH0ndDYfOaiowD/kZKctfWDkTRS7cSWKil7XXIoQ== X-Received: by 2002:a05:600c:3556:b0:415:45ea:9922 with SMTP id i22-20020a05600c355600b0041545ea9922mr1810546wmq.35.1711733097986; Fri, 29 Mar 2024 10:24:57 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id v8-20020a05600c470800b004149543c82fsm8491069wmo.39.2024.03.29.10.24.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 10:24:57 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 29 Mar 2024 18:24:36 +0100 Subject: [PATCH 6/7] wifi: marvell: mwifiex: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240329-module-owner-sdio-v1-6-e4010b11ccaa@linaro.org> References: <20240329-module-owner-sdio-v1-0-e4010b11ccaa@linaro.org> In-Reply-To: <20240329-module-owner-sdio-v1-0-e4010b11ccaa@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 , =?utf-8?b?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@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=792; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=nydkRqQqfWxB+bwGXT+pWOUlUp96ndfzIb+plXc0Luk=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBvlbB3ikwQPsoocZuYMqkRrpjcu9xVmLzCYer i6ERPR5OLmJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgb5WwAKCRDBN2bmhouD 1xrED/9h7qikJ7wiFUT5mJeAPPb56pHQIR3znbanFDO8iSSWRpJqkniw3tF0vuvMayv8QUnMn8k gbqHlF+enH3aqH0STc32gU582CkuZAI3UE2s3B5cQOYtxyDqYLA2F8bllNV3XEAABvOErLxU02x CJdEx6q0e+XPHvbxjfDX7r3Umv50WsrfGjtvLJVVRYCqRHMXei+5w2VrOILx89PegmnLbMZ6vn1 oBTzHypnSTmhweyK2O/o+7mfO5WZ2azj6PNiBVPCXh+Fu1ENwjnJCUE8pfB2k7e8mxPK3FXQ6Ph njBzMk5BNW+RPXqN+yMOy+cC2wievLZtxKFVAca32Psvq5KbdZb48tOkYI5grOkigkFYjHzX0yK 3OpZj4z/mB5A/Ioe3NYSq0tuvuEyYT+2IAC8DuBZ49JpcYqHkQEF3EwbLqOCKz/whyziiIYSZ+B tSIWpe4XmJVH6/NhmPLfR9ggYy7Z8SyZQp3gD1KHpkVRqVUIoIyMZQGYzYuRVxmnECSpi2zLda8 g7pggI5y4t4k8puQZld/fxmKSYrfoAeIhgFnDjmHucgYUEbd70PChlJaGfKXIUBQhsbjoU38vLh 72VvpFmDV0wLK5iUYnAT6fSG8bB88zS2LroeJ3y1rfCTA/1VMPT9fVOnZCCwLWyQ+kJ3JMCUHVK /ald/SQ8O0m98sg== 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-20240329_102501_639796_B493948D X-CRM114-Status: GOOD ( 10.45 ) 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 Reviewed-by: Francesco Dolcini Acked-by: Kalle Valo --- Depends on the first patch. --- 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 e1b58ca1b3ba..588140453821 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 Fri Mar 29 17:24:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13610873 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 9EC5ECD1283 for ; Fri, 29 Mar 2024 17:26:05 +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=KcD8HRHcrp/DV6/mbC4noaoosmpuTxjJzgOpstPofQw=; b=4pud7U8jkYjQKvXgdHo55Oka3/ fsfGInRN66hVtsX5OPXX1Lhaz6xiZ1L3VMJ8NRRyL/CjAmJWCb/BAeoWDsP0yHcDOj3ETVM8Ox4Oa oyNTVgGo8sDI/XG0VzUYoT4PcIT3obVoD6woIjx3YVSmLJSLe7KvwsKkanTsgM9N6Bv+n/EpEEiLG cVHGQTcoa47irWIoDuwEWBWOY+Nv4Knx8RocTw9zkt58SiiKY8xWK4+VstwfTwUUBF6AFRpSLMjYB Fc0cTQ6xDfH7IzJFzrmePgL+LNs/hChl6+WlE/MNT2MTNrESlkRw0dQSsyJgvMkVKcv1y7Y5CIAoD YEIhSOwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqFzR-00000001TJA-03T1; Fri, 29 Mar 2024 17:26:05 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqFyR-00000001SeI-4Aa8 for linux-mediatek@lists.infradead.org; Fri, 29 Mar 2024 17:25:05 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2d6ff0422a2so31302321fa.2 for ; Fri, 29 Mar 2024 10:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711733100; x=1712337900; 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=KcD8HRHcrp/DV6/mbC4noaoosmpuTxjJzgOpstPofQw=; b=ZHNvOVmbZziufsECLM9WAuxaFDZo+FerZFkGoPRnG1ApAHCAG+s/pbUXR3QR9ZV17x dMlUswS6d6Qn2lWd+umtsjtUzJspJbWHfuAaoivpxgS5tQ15DWep//OeiLUWxihmN1s4 26uErgOiyr3Lr6LTj+tZka4U0TKOp918h8Ysb1B4jizUFu5GDMXEzIet3Z9AfWOUdlsP noPW1Yt/z0DHvj8xX9mPBP1vYLNHFmPUOuUZebc9nSsyqHhPP5UI0c/24S1Dpc2659qL dhm/fy8Iyfom8dXC1v9uO4y4xAI4ik5DQF0EFEV2GtmpIB5JACgZGj5Geg7zfnGA4Lnh BLeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711733100; x=1712337900; 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=KcD8HRHcrp/DV6/mbC4noaoosmpuTxjJzgOpstPofQw=; b=PYx/7eIZ4HsBPJ3SjI+xUfErqtB7W0tFSfuLFxOmRsT7b/J1dCddXspe9GecvK937J hlfKEUqCGNxTt2Gmq3jvfwxlEm3nCOUPrbwqP3pJQGSpPme5ncRylGQYnP+Iq5GFZ2eX V8eZ487tb117X2cu/By5oeKotUdVc6FraLPHo0Zlxpqv/41JxPj0UkGeK/NwjIdONULd xE3Rl1cn5TmK3BrAc5zEPlqTGYbP278QL5B1PavLdSdpZ6/uXngj66MsPrv0z+/CmPfb ROJtVIp02SeZmrM4smTyAeFPvYSqZQhseJDAM+NdZYeCnKTvsLg4rfg+cezt35RBY1/Q QYrQ== X-Forwarded-Encrypted: i=1; AJvYcCUJwF0lceEdCfmXfWy5MMRorYhUX9T1Kg/oAqhMPDcYxXbv3e+LmZJgMFFpO9RfTIJnxWNbFbN4nlXy0bjSyCOsbpyJ/VbjdK9uInCNSnvc5UoW X-Gm-Message-State: AOJu0YzRSTOXo3BdmQp+d+Iot//7QQa0zqH89USzOKOjmzOqazW675Tt j0fh05fZ8uscXiO0JiwNWJagWS3zF/7j3oQJD23yHw7zhlypdp26cCpuQx0rogs= X-Google-Smtp-Source: AGHT+IFyjNez3sE4PWODMtgmz7C3Sd3IPme3UL4MYB3hYvUDweMQ3FjLWXzSNso3+baxRqVn9yAqyA== X-Received: by 2002:a2e:a40e:0:b0:2d4:ad34:85a7 with SMTP id p14-20020a2ea40e000000b002d4ad3485a7mr1899831ljn.29.1711733099818; Fri, 29 Mar 2024 10:24:59 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id v8-20020a05600c470800b004149543c82fsm8491069wmo.39.2024.03.29.10.24.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 10:24:59 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 29 Mar 2024 18:24:37 +0100 Subject: [PATCH 7/7] wifi: silabs: wfx: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240329-module-owner-sdio-v1-7-e4010b11ccaa@linaro.org> References: <20240329-module-owner-sdio-v1-0-e4010b11ccaa@linaro.org> In-Reply-To: <20240329-module-owner-sdio-v1-0-e4010b11ccaa@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 , =?utf-8?b?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@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=750; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=dy5/P4BbGd7xVHeclyb88G2cDXZH9d/+8cFl6+jA+cY=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBvlcZ0oBCo8Oq6N8hTvt2aQpgKAKxHIpjqSlr SahyH8uLI6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgb5XAAKCRDBN2bmhouD 1/gPD/92fMg4HeDOH6UvazVFxNBFDiNGJ0FuWFqOWnbcog8PrO2WrRE1CwCalUVCWLtRzP/1FSC wPYAKDHxoCbDCUBmACS1AywZqPGdRT/aw3iVNVrBDP8MD36K+MzLgAysUxL+5DCQsNF+L+hi7JW 3gtzJRKDlGqFn/qAnv+C9FI/Ds01g5GuA0re2O1B1Pjl/6AuKk9hLXXOaWOsgDdjhU+z8KaW2Tf xhU15j9lvurPC3StuJfkS3YV/4SoVpPzvO8YB54LV6wyx6RHDxi7UItPbp1KbECx/NE2oGo/EQq 5NRKXKzKAUd+Ldk9rKoRG0Qns2jZdUZd/9UIbgZIBcVTCd6XbVolP0fzkibJ878LM9hxbq8ZX4l qILgzeZ0//xpzDjVLIraNWKk7sZ5rHsOUI2TFzneTIuVzfDM9vc9ArlWOPoe1zJSWathXf8DG+O WatvfNlBC2gQ9NTQGlOgJQDC7sjHIeIheQAGBrvbfhhCMooPM9G8Ca8p+ivZvs+WRI1mn253DY1 +qus3gE+ShRmFXkyRfALGgV5dwLm6Me6e2CoBys14WXjhMe9d3hog/3RNZtVjIeAdG5J+Vw5PgT StMgaYVmpBBm4LkTKTBuvaFhH89MiGxa7ChhElyueeFEP7QVpO+cVfVEASSGeAOL1vSNOX0M7cE osfdo2scTUV3CIg== 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-20240329_102504_096326_2BE467BB X-CRM114-Status: GOOD ( 10.22 ) 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 first patch. --- 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, } };