From patchwork Thu Mar 28 19:49:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609377 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6AB27EF00; Thu, 28 Mar 2024 19:49:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655396; cv=none; b=CPDRBBcGgH/XLNO1e7R5a1JfxPb4Xmto98Y4miDTMiSHYlwCCEStTFozd+AZVgOLS2f15BPLwptGsLRPKZXDl+dcCldVXKDI/L04WMZNGHzw7JvvVTzggi1I7m3fDa7XvMT1Ev16ypCgtSNgVVqoDq+okcJUk3apjkdN1Jrduos= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655396; c=relaxed/simple; bh=tpKvb2WpKtL2F2WNCvHRKcNrzS9sLlPv7e2EtZRo3D0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=M+1T55MqsKCReWbRKCCSGT4Q9M7qir9AvUZ53FisWodKnPpN+7TI/k+xCMsgG6ghoA8VuIiaMjeLRKcJbAL6OeSTjv+1STiTwwuTFmkz1WqmJhhXMIcYnpj9oUvPH+lGadFbJ2EW0qtZbtnbqS2AhP0V5WPCEsg8VAszWY3+oOg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0D52C433A6; Thu, 28 Mar 2024 19:49:47 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:11 +0100 Subject: [PATCH v2 01/19] ACPI: store owner from modules with acpi_bus_register_driver() Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-1-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2838; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=tpKvb2WpKtL2F2WNCvHRKcNrzS9sLlPv7e2EtZRo3D0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcm/75CHfzjauSbERmtADmBfBhznS/UR7cdHP 7RSIzEIjuqJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJvwAKCRDBN2bmhouD 12kZD/wKOlbTJcRyBA4FiiG2tO7BfZ67V0INUdhmDGivj2/Ggl5gIwsgQxpvM0Km09hAXaPDRjj lyvAdF6rG2LBOIlP33IwbcAPFrA8fjnr5ltFUN1skrf+SDugMGrU1wtf3C1kf6/+xPkobyzjlQ4 Isfqjvx2iysJaFE7Kpn1sA8m53l0y8brqihEWhfgSZ3TptyxCDX+exyoA8mQMFzVM0VNXuXrqSV LoGM50PnqYH9ndhsCftOZgg1TmWMRXe7Mdd57OBs6eHxBJ742SpMPoAHdLEagTqS7mPjz0j+kPc x6MkHs8/D5AVaukXcOY0ojZgxWCJfsf7tnki5Kwre+iW/sEigYZ70Hj92WRyycYbP7kJ2guCN0U hzSkW3RS3zIrWGWbjvXL+Byk8RdIbtZQy6+V/EryhSXR6Bv0z0EioRwVT7ski+bwKrkhLJkGEhe 1v1NMiWCIXHq1MQCRm4Ry8WQ0RJmFdMblkXNLSeroIVu3Lh7kGDjA6H0MpPoatGxBY9vqJ1LxUV ADP4YQz6rN6Z4e1Eldu0DpGsspM70VVocPfy9v8ri0bevotCiQAAhK6l643bePl2W2PxPb6a8Rc 8et0Wt3qsExffw1JbsNmWJgsSXsIDT+OZgetPTPsylHOtqn44KXrb/p9cAAb0SuCHoQeN0S8lR1 wA98xZcpjAv6e1w== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Modules registering driver with acpi_bus_register_driver() often 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 ACPI bus code, just like we did for platform_driver in commit 9447057eaff8 ("platform_device: use a macro instead of platform_driver_register"). Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- drivers/acpi/bus.c | 9 +++++---- include/acpi/acpi_bus.h | 7 ++++++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index d9fa730416f1..eda951032f3c 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -990,25 +990,26 @@ EXPORT_SYMBOL_GPL(acpi_driver_match_device); -------------------------------------------------------------------------- */ /** - * acpi_bus_register_driver - register a driver with the ACPI bus + * __acpi_bus_register_driver - register a driver with the ACPI bus * @driver: driver being registered + * @owner: owning module/driver * * Registers a driver with the ACPI bus. Searches the namespace for all * devices that match the driver's criteria and binds. Returns zero for * success or a negative error status for failure. */ -int acpi_bus_register_driver(struct acpi_driver *driver) +int __acpi_bus_register_driver(struct acpi_driver *driver, struct module *owner) { if (acpi_disabled) return -ENODEV; driver->drv.name = driver->name; driver->drv.bus = &acpi_bus_type; - driver->drv.owner = driver->owner; + driver->drv.owner = owner; return driver_register(&driver->drv); } -EXPORT_SYMBOL(acpi_bus_register_driver); +EXPORT_SYMBOL(__acpi_bus_register_driver); /** * acpi_bus_unregister_driver - unregisters a driver with the ACPI bus diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 5de954e2b18a..7453be56f855 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -656,7 +656,12 @@ void acpi_scan_lock_release(void); void acpi_lock_hp_context(void); void acpi_unlock_hp_context(void); int acpi_scan_add_handler(struct acpi_scan_handler *handler); -int acpi_bus_register_driver(struct acpi_driver *driver); +/* + * use a macro to avoid include chaining to get THIS_MODULE + */ +#define acpi_bus_register_driver(drv) \ + __acpi_bus_register_driver(drv, THIS_MODULE) +int __acpi_bus_register_driver(struct acpi_driver *driver, struct module *owner); void acpi_bus_unregister_driver(struct acpi_driver *driver); int acpi_bus_scan(acpi_handle handle); void acpi_bus_trim(struct acpi_device *start); From patchwork Thu Mar 28 19:49:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609378 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 89F547EF00; Thu, 28 Mar 2024 19:50:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655406; cv=none; b=lGe3ZV3PxxYYTdoyESpmGNCYTMuXf5ERko3HdXAOqvQ9G5CUd+ClkaD2PvqQPtUfLbmPoTThwDUdhNcpUG2SfDAm2pti9O0zAKZBAwFF2jAdIVLH6MbdtTruW7sgm9hsPPiW20l8p8U3VgmNvluXr/NeNRFscGR9BV/sf9Znm74= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655406; c=relaxed/simple; bh=69+80hLz3Wx6y+bqUYfkCRVRC/cWOyQclieDPFYEN9Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iAQaKUoGv/RfoIZxJksx3sSOEIHCR+Jau09uA+4/HF5c7eNjtAiKQlzl2snI2XVlshICpltFnw7iewOcssrJOk43koHN/IlNU9ytTy22MgfxVCme6U0Y0Ihm1lYLsb/mjGKZeqj7LL+ebAp2zxBQirV1BxpJACxBtrkGHF4UkCo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3EA1EC43601; Thu, 28 Mar 2024 19:49:57 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:12 +0100 Subject: [PATCH v2 02/19] Input: atlas - drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-2-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=856; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=69+80hLz3Wx6y+bqUYfkCRVRC/cWOyQclieDPFYEN9Q=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnAx7XrsoWBm3vh56nw5/LChv2E8G75G7P9c jusiIE+kU6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJwAAKCRDBN2bmhouD 1/SdD/9deyAcM29a6zSRH1dyIrGO1oRwUG5KH/LY76CRVBouqq0VNXz8+b8D6LG3FLXCdb5TjUl ZFGcjY3s/r11M6njxehb5HG3maBLFySMoSyiV8qcm1K885e6u27KW3vI7GW9zU+ffsSLzy8DC+G q/XU4pegC8A/hWjNqXHH/XQMRCJJKNe1NDrEalZwlscHFzz6M47g6Ns9D1+jq4HWVF7SPk/qLDV sPOn1hiNPuLw3Nwm/6ppKh4cQEjiHWRuIKn9VumSHFMZE+Z49Jp5L30SiHN8vIR9ip+NVY5YZUN H22pGcW283TvPPN5jso66K/Fi5GmVNqETa2DfPIDI68iR7t9oBS4qB5+j+meVkLXDBfvlgakI6i 0LbGRaHzsjAdu6rIT+wYXqq6alvDQH6huGt+MhAntWKPwwgUNUJbN7Ak5t/MrFumcZTYBIC/Jod VbVJEEs+oFg2LdDjIKVeIxEKDOdFmlafMrfE09zev2JSJngthIZyF/3GlbU+SobZTnB5ty3kYng Q+WkeLi3Xp3q0KVZ8/HCScv8+RLqLa8Is0bzpHbfoStRVVlaHJg1H6VBFwCK+czr/MVBv7LDysS SU4XuIPpzdQnnbZL+sXpTFfZzq4Pj7r6jGtXujNzoldabhgdBVaKJi5y65RmYcbuq1hZtgGgEjA So+avUKp+giVMnQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Dmitry Torokhov Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- Depends on the first patch. --- drivers/input/misc/atlas_btns.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/misc/atlas_btns.c b/drivers/input/misc/atlas_btns.c index 3c9bbd04e143..5b9be2957746 100644 --- a/drivers/input/misc/atlas_btns.c +++ b/drivers/input/misc/atlas_btns.c @@ -127,7 +127,6 @@ MODULE_DEVICE_TABLE(acpi, atlas_device_ids); static struct acpi_driver atlas_acpi_driver = { .name = ACPI_ATLAS_NAME, .class = ACPI_ATLAS_CLASS, - .owner = THIS_MODULE, .ids = atlas_device_ids, .ops = { .add = atlas_acpi_button_add, From patchwork Thu Mar 28 19:49:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609379 X-Patchwork-Delegate: kuba@kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EF39213AD19; Thu, 28 Mar 2024 19:50:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655417; cv=none; b=FcWzRVlnUGyQ9wMpay8xYmRhjJ17avb3h3cnTJW21FZSUx6a5ABvfUL7b91b54hYZI/eOJFpIp1WAJK2154gwOOwtWBIFpnhKF7hLkVzKI0WYwGtm0jQrS7iFsiKdmU/Qfmfv3dLAtMzPy6ET+gBOH+ALrl8VOe16kaowvKGJRI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655417; c=relaxed/simple; bh=MsjVy3pXx6S7JGgK0WAo4NJeUMxth3LTHSIPWMxIYEE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ARZN/rMa+R8IwBnHlfRsCt0r0aA30nHABn9x4C+I0QYZY//UIVjRilY6Crg8DQvKvljVvDA0BZohRrIdXmbncpr/x965yMbdrFcUovrYf7iE4ra0JtTLUMpzEPaNlRCcIgJvL0mJNMiiydij0GPnthpFmV7BL01P0EfeEU6I21c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9286AC433C7; Thu, 28 Mar 2024 19:50:06 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:13 +0100 Subject: [PATCH v2 03/19] net: fjes: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-3-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=769; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=MsjVy3pXx6S7JGgK0WAo4NJeUMxth3LTHSIPWMxIYEE=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnBtRWQl6ZYHznmyg2cZvZglj/opzjF7UQL6 K9ZRGfvUd6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJwQAKCRDBN2bmhouD 131MD/9qobODC4LHr0QcwQD1Ek1mT2dadDc/sgVnRogQ6PH+5kWak7NmdJiCwPn0Ds5QN4zb8C4 tRg4ySY1o+WmBb+eCjyzHe/gUei3Df0ZOE2LxcFel1HseCxb/FIrRB0l0l9me1A6XRSkUSz33wo FgGkw70HL7n3CF3IwJnjlu8XYuWMCjCqbvOxp5idfn0keCBA4n3uudB61HswG9ugNRqL2CnTrci RZbirFtNkWPuXuUK+j++6SLt9fblN3XUp25iQMZV0mwCkhMVtwY1NMtKi/2cA/zP6/h9h2KGIwQ dzjdQartmFGj6CsiFcHdcuqFU/njtVzhRb7RrR6BsD3OLk674hmU0eqkljGzeGqFcXAv9X72kke ZsvIvqMwJ0XDtaTxyJJezFWn41HBSCwAmaIB107g9KgUGD5OImeWzzcBPEaOel5o7BH01MJtpk6 iXVa8czcAVa6R1O7kRTjtZ6OWTMIYN/f5XIZ7D6KZj6eSeqPSkL/9MfZWCLyTZB7OWrzJqh+qGu /ki5qUJMgBFQLKIQAEHjqmaiyyu9OE1LESYFd2l12FjO3xnNnPU69iKcA1nKHno+2C8cU2heM4u HNIg106PuiaN7/DDJwHNr0eVEv2sYhM1uYJXwR7fQTjMkQSrNEW/mOTQ3t/2gFkS4LBFtuizR4X iduA4hS8L3MVOpw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-Patchwork-Delegate: kuba@kernel.org ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- Depends on the first patch. --- drivers/net/fjes/fjes_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 5fbe33a09bb0..324b34f3ac93 100644 --- a/drivers/net/fjes/fjes_main.c +++ b/drivers/net/fjes/fjes_main.c @@ -156,7 +156,6 @@ static void fjes_acpi_remove(struct acpi_device *device) static struct acpi_driver fjes_acpi_driver = { .name = DRV_NAME, .class = DRV_NAME, - .owner = THIS_MODULE, .ids = fjes_acpi_ids, .ops = { .add = fjes_acpi_add, From patchwork Thu Mar 28 19:49:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609380 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 66D287D074; Thu, 28 Mar 2024 19:50:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655427; cv=none; b=teix9+zMbSvBJHstoUG1/hw9i23QGz6RSjYfFdLUKe3ffrsa+422ZRe/fN9mDKHU2UrgCt5EfpBM2QRKyEeM7rVW3CJ77M3OvgvAM1ciynPlQggKPO5+L2M5PwQ8F/1nuM5l8B3h2w9bcvmEqyCLabrZpNjmGNOPDn4SgieTEys= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655427; c=relaxed/simple; bh=/NV9RwZj2kQUDNzPiFSFiACsXVlCd0SjuRkQZxhr5AQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EETnVDLWu4gCMbR+YZdia2XxxpjIawlS0kErIOYINGmbAX2ifspDpASfQKb0mxR2gg6zvtWCLiNGYvT3il2sMgVUbnbGoSTmgr5IPfQUUnFmPoLcswJ8BaSwv951EW+0UPNaxqLJUlrjN9IJecyKs8Sir0+BXdFFLeLHp1vcGgU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1FBF6C43399; Thu, 28 Mar 2024 19:50:16 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:14 +0100 Subject: [PATCH v2 04/19] platform/chrome: wilco_ec: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-4-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=834; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=/NV9RwZj2kQUDNzPiFSFiACsXVlCd0SjuRkQZxhr5AQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnBH1Z1m9oJl12YabWZbbf1tCq3Tw6YlAdIX eYRlb4mBLGJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJwQAKCRDBN2bmhouD 1/O/D/9XEe7R8IhSrQJGhJcev+mGl/s0mztRh3JJNQmYbIetiBPaWWZDPzxXBTMpHnJW6j/j1aK w/+hY9nBrpswWJE1xfZt7OO8uKpsq1X6TtyRoEWOlQTnIZMPrA/Ou4r05ekJB+S1/19DFD7mQAE Cn6cL1B2OuOybF0Oq0Bq+SgrBVAHhmB+5L1C9oc0l1AOO/CCquqPISnzLbrh2WyT0USeU+msvbZ Ep/4f0o88n0I/uo1+ae4K2L1KaO/cT5e1YpX3FTnM/y0CuAxfN2JWSDYeZdMSiwpSxpPeffrt5T UqAIbqg5bFgeTM+iJvRwj4+d9ov3koTkY5zSQPYWJk6XH1mHFoaPW2RZnQvzsv0bw07gXaIrHfa 5cdXEq4QjbUXPfucbIgQkq+YQXunVav9O44Hmj2yiBD1Tch7LmIT0v+HOb1td1NdLwR2xpyk1L6 djR2mss+ShIIcDjPXUfTtKDMQ3eLG4H7vBda4/G3SAsCA5YsTN8DvwbJWgMQeBqRix7n6djjjz2 HbVUfIaOKG8YNwnmipcWqH/DUQGR3nsjAW61Q07ZdByZFH+pgyRpx7nrPYNI0Y1yIuRL12SlDoj VoVe6lJGLgWZTlxkZbi5nJApHY75iXt03potqV8OqpKURS2rFEUo5hcAde/26vIJhrn1mxb705K onHmENN6xvPycwg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Tzung-Bi Shih Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- Depends on the first patch. --- drivers/platform/chrome/wilco_ec/event.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/chrome/wilco_ec/event.c b/drivers/platform/chrome/wilco_ec/event.c index 13291fb4214e..ae34e81c5d18 100644 --- a/drivers/platform/chrome/wilco_ec/event.c +++ b/drivers/platform/chrome/wilco_ec/event.c @@ -523,7 +523,6 @@ static struct acpi_driver event_driver = { .notify = event_device_notify, .remove = event_device_remove, }, - .owner = THIS_MODULE, }; static int __init event_module_init(void) From patchwork Thu Mar 28 19:49:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609381 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1917113957B; Thu, 28 Mar 2024 19:50:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655436; cv=none; b=rcFVFTVYLIj2IDAcHDYDLnHXKSJcSQnNo8uhNbwFXbOfaBVmB0BpIbnQNRGhAaumJcxhud2wLtBaOmwF2LwLt+4EeQIF/0Dcda6AOC40pJB0Ho770KTruVMjpF/F8H3V5OJ9ubVZl8wxAawPMoel8NQwXHyyrFbOrCMwZQu7CJ4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655436; c=relaxed/simple; bh=CplXi5ddRdGAmFTTmllZMxAkwaZoXheOIjXAp7bwP24=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=luW3IjBVse3s1z/3GX5HwDqCrq1VdOSKU7foQ5fHnCnK7PJzvg4Mwex3hMhMZsd3ux5NcXdJN/vsgaMM6bjLiktGziK1mLt3BbZ206yLc2Kg/dqoUvoyjh8+lqXGUGb57XTvmd8NRU8Fr5dMJ5FD5Zsa6aGluauvh7/d2AeChiw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 975ABC433F1; Thu, 28 Mar 2024 19:50:26 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:15 +0100 Subject: [PATCH v2 05/19] platform: asus-laptop: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-5-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=871; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=CplXi5ddRdGAmFTTmllZMxAkwaZoXheOIjXAp7bwP24=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnCmuDvA8IKhuCT0VBw+tyVZgkU/Vx1D2NIr oDzp6L90pyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJwgAKCRDBN2bmhouD 14fSD/9lQBoY4FvjQPD6qEXslCNZpQSPZBhFyLoxI9R6YKA28vCJHYvSHwAdgaDVQrvS0KQv9sq SE6HDCkWlFjbwLDc+uMiq25ICq9zSOvMs0Uhnnkcu6lLTb9Je+csVF9yN0wZxrJeTy3QK8A4WEo myTJWxgOguRsK2yVudMD4H9Eg5nUcguqkuapiz76A6lsGWjn97Wx2oK12HN+S0nA5YIxDu3AReY 7EMileDBqzt3JOHRiLvxnuowczGcpzEISwx0waYSc8FbXv402oy788Rvsc0d4bDUjmph1v/KhK+ l3UBPaE/rlRAFwDb0hEfiRdg4b5CCiEyigC07XmgSQr+/hDw6H9gdEbDuZ535ijkKxy5y6R/3D6 NzhxjeQ0N8dctTsX/9WWYVNbctcOgdkhHm3rD3jPIw+WFFJB7ynrtklq06HkQhn2IX0gU3golZ1 xp2v6LxzLpnKnpfCLeYtgUOJ8pvIP4eJy7k84oQOlAZoiqChRJfnRvJyeqyjcfJWhiwI3tfi+Wf iHercYl1t/Zv2RrTdcUrgLF80EyP9UPtvQtqGyjc79uDnNSpS3aMInZtmgb5MknuBTNa7GjR3Xd uFKv9xmd1RPyvddpYrFQExlcyMQCkKtcdduCi9wCj2OAdZnO5WSgY8QChslDXWkJfNTeVTFGieT ii8wfCaUfYnhfKg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Hans de Goede Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- Depends on the first patch. --- drivers/platform/x86/asus-laptop.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index bf03ea1b1274..78c42767295a 100644 --- a/drivers/platform/x86/asus-laptop.c +++ b/drivers/platform/x86/asus-laptop.c @@ -1925,7 +1925,6 @@ MODULE_DEVICE_TABLE(acpi, asus_device_ids); static struct acpi_driver asus_acpi_driver = { .name = ASUS_LAPTOP_NAME, .class = ASUS_LAPTOP_CLASS, - .owner = THIS_MODULE, .ids = asus_device_ids, .flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS, .ops = { From patchwork Thu Mar 28 19:49:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609382 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9DFAD13957B; Thu, 28 Mar 2024 19:50:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655444; cv=none; b=VRIJBWHHyL7sLFlMq3PamrAxWM24E1uSvN1E04oWNVGCjkNQvZJ/QL78ku4/lpbKW82v3UFIiQVpfFLnFCS/cwY98pVAh5eyCh52mkdN9tN/vn1lQDGBSNuGgmDnJF9oVms57fY1ZA5n6OvZAxpAkT54/U/lmvKnyrwP4LaPy0Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655444; c=relaxed/simple; bh=bp47ddJMjIQ5/SWy3n969WYfRfPfoIUb5K9bse8GbEg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sWRT+pawEu46B4IMWWZr5DYsj04fv3rD2qMtJ4ZR42T9x/Ov4ygSmgE+/0NDv5R9G+x6XNWuyMMBJw8B++AJQeU3ElOIFpRwND6f+OM+QeGSZdhGIqn8T7YWuigA/Dx9zxdCDWl26Zh93Bp31Uss7r+guwRSRqyOVp2Ip1gVIUg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72BA2C43142; Thu, 28 Mar 2024 19:50:36 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:16 +0100 Subject: [PATCH v2 06/19] platform: classmate-laptop: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-6-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1931; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=bp47ddJMjIQ5/SWy3n969WYfRfPfoIUb5K9bse8GbEg=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnDAE9WAhKdt+YISIs3ScByHxrEuXeEODw34 +YrKxhmhhmJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJwwAKCRDBN2bmhouD 14tDEACJbHvOZiNOZTNjIQWJaJLFBG9WTqcTieozh2AkcnXobGXqgLtfduTaFVkWn71vgCHzl3X YGK3wHWBxtoAAA4IB7tRtAK81gFo0yq7ReRgXiT0OnfBmUUmFLdmp+a+OgC0bU39R/NhWzyB37a 55+TYFQ9+1AiNlgEstn8qZUtZ8TPC78QKN6lhUvj45j6NIzdu5jP+H/a+g2+RepeZUMwToVRkZ4 z3UCLArOcSnjy7U0biSOMKBgMY9pFH4ZaEjC+Dx/WKDWJa4RuJXweuGFtWBfIZTCMaTCVegAyWN kSilku+B2KnPD74j5CTcVF3+njEmsfOI/DjavqFXYxrg9KO7Is8tXFyP/V7Ip504Umh3NaxQqfM I65f/vkk9V7eWfBeVcUytVA/jgpXChvpRo4t6KFiLaDRvT8heGWK5MX2C4yHL1klqeFUsLYOQjI WYvhF8Zf7rC+0ytc9lHnkKjzMiHYAq36q+MYrH/s2IBU31seKbGz3DAuqW19S6+3ZmsbSMmoxZ2 nQx+jlB8KzMh2HNWk9VQZUVw3zcApM5DL7ilWWalH37zsCWYiRuYvugLQNgAPcUqtJZRH7kBhbY pVygzjkLJo3EBu5hvqyWW9IaVOjqamBPn2NeJ2mrI7cwELbHNHvl8dBTcVLqU/U/zko5osJAXnq +PiIY5d8BMp7syw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Thadeu Lima de Souza Cascardo Acked-by: Hans de Goede Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- drivers/platform/x86/classmate-laptop.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/platform/x86/classmate-laptop.c b/drivers/platform/x86/classmate-laptop.c index 2edaea2492df..87462e7c6219 100644 --- a/drivers/platform/x86/classmate-laptop.c +++ b/drivers/platform/x86/classmate-laptop.c @@ -434,7 +434,6 @@ static const struct acpi_device_id cmpc_accel_device_ids_v4[] = { }; static struct acpi_driver cmpc_accel_acpi_driver_v4 = { - .owner = THIS_MODULE, .name = "cmpc_accel_v4", .class = "cmpc_accel_v4", .ids = cmpc_accel_device_ids_v4, @@ -660,7 +659,6 @@ static const struct acpi_device_id cmpc_accel_device_ids[] = { }; static struct acpi_driver cmpc_accel_acpi_driver = { - .owner = THIS_MODULE, .name = "cmpc_accel", .class = "cmpc_accel", .ids = cmpc_accel_device_ids, @@ -754,7 +752,6 @@ static const struct acpi_device_id cmpc_tablet_device_ids[] = { }; static struct acpi_driver cmpc_tablet_acpi_driver = { - .owner = THIS_MODULE, .name = "cmpc_tablet", .class = "cmpc_tablet", .ids = cmpc_tablet_device_ids, @@ -996,7 +993,6 @@ static const struct acpi_device_id cmpc_ipml_device_ids[] = { }; static struct acpi_driver cmpc_ipml_acpi_driver = { - .owner = THIS_MODULE, .name = "cmpc", .class = "cmpc", .ids = cmpc_ipml_device_ids, @@ -1064,7 +1060,6 @@ static const struct acpi_device_id cmpc_keys_device_ids[] = { }; static struct acpi_driver cmpc_keys_acpi_driver = { - .owner = THIS_MODULE, .name = "cmpc_keys", .class = "cmpc_keys", .ids = cmpc_keys_device_ids, From patchwork Thu Mar 28 19:49:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609383 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CD8013A243; Thu, 28 Mar 2024 19:50:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655452; cv=none; b=tF2t1ToyIjJL6Dxvg8uQ3sQjgG3HKvHHq+36pCk1/zeki54DYRVmrJnkYuqpTDygHJbgGMhwMPzdbAh8vPezCSR2XbNiuhoUQUoNu1JvtBkDQEIpc5dKdjIpCDdScIfSJTGNPv7sBstHB00UZBMNRgD0g/JS9Zb0lni7o6M/kaM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655452; c=relaxed/simple; bh=XOZ7b2+NpxOkPS+HwrZwBhnuRE/Lnltd3XE6kNzmoJA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ucXYd/KKuOrkS+DjBTYobW5n8Jjz+f5ppe+gtKmyOY/kjs3s4D/Rt6cujrgIqXa5RZX2poQRf/flMuLDfR6toaXvjnmjyZTG47yg835bPx3Q8KDOp3Q50f9KJ2vkcgRZf2z2H36UpJcJvwazhi6pAr+kfzIjIgrnuoPCcg5c3+0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF074C433F1; Thu, 28 Mar 2024 19:50:44 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:17 +0100 Subject: [PATCH v2 07/19] platform/x86/dell: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-7-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=726; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=XOZ7b2+NpxOkPS+HwrZwBhnuRE/Lnltd3XE6kNzmoJA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnEPUFidAyM14BR9uBDWbObaUACpku/k4Jnq 7+wCKxEvkSJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJxAAKCRDBN2bmhouD 1z8+D/sFF0P28AfEDqvRJk8Mb+XkWGdIzlTk0Y0IORkLICrSmqoa1DcdNqg9k74qfXJUaUFgQsb Q6ullkfB+IFp8rzecWWXmYod6QyJkGdpoKqEWClmHK89iJTktFOqInMMpDaPbf415esEG01uHdP cyMzDJ1MRDPG+tH+APwj7RZGVdnfFNO3HMexkwf3Aoh2rag2EG7/4/pXJ2S/qgqUJOvuKkaNVR9 xi6QRLn4m5SFe4JcVYzD2jHMUMKCl6Lhy6Gli36IljRMju9DzAUTuDC85PP+K3hGOQ+g0grD1Lv wRxyx+2ACHQt07EsZz2nimYFvlrysoUYpaliuoMO2eTWh2A+Mpzv3kUIIxQK/x9w2471klDbPcE /NwGZBQN47IxDOPKV/QTdQnJTL7uK4dDed9L5qzs0DLc0X90aIAPcvxvvEZ/hIV5G9zkG8a+E/O l0dCgxBWEV6DXfO1Hs3e6l+LB0eplSP8hkzvvXccjyVOKSs8xSeNm+f5spZxj4MDiRVQicizNbt lZmerRh3eA7iN54JcVwnYXwikxEKv63aRahcHtNU1qZlL6LZnvavIF3x49xPJU2iU0AuHctHhvi Xd1VmLaXGVOypun6/teSyw5F6KZc7le0NzW2D0jqunx8wEnKkFe7JrscCuWms7i9ViAyrxerWgj XnFLIldAytgAjqg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Hans de Goede Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- drivers/platform/x86/dell/dell-rbtn.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/dell/dell-rbtn.c b/drivers/platform/x86/dell/dell-rbtn.c index c8fcb537fd65..a415c432d4c3 100644 --- a/drivers/platform/x86/dell/dell-rbtn.c +++ b/drivers/platform/x86/dell/dell-rbtn.c @@ -295,7 +295,6 @@ static struct acpi_driver rbtn_driver = { .remove = rbtn_remove, .notify = rbtn_notify, }, - .owner = THIS_MODULE, }; From patchwork Thu Mar 28 19:49:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609384 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54E4813A267; Thu, 28 Mar 2024 19:51:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655460; cv=none; b=hqMnOg2lSB2Qd4kx11CjTt6dWXBe8DVb/hEpQW3FNAJuafafH7bJVzmzPtMVz0ur2KAifyKnDD3CPP1t/BGB3FU4sMVn4dr2esm/SJLVBX+nmX+hshqhWiJ4FTnYX9CaqMKZffO0D6gkkRaD0bt1SRkYosT7vTdRUECUcWZBoq4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655460; c=relaxed/simple; bh=3DBlcw5Uc+lUgavKBCn/PyGF+yjz7VdivcFuSZC/Ml4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BlI585987Uph2+/PdVph8nEEHATS5XitpPlo3wFDtvn92F6jJxbq+vYvkST6p33mWL65b0IdTLUl/Me5IYJVmN1Dgljkbzd1pW7ZPORW8JqufizgFbA3BDPfCA3yPrJzFgkp/nkp5iMZkKyeaRcuXGx3XDyYtHfBD3SKJ2LaL+k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5298C43390; Thu, 28 Mar 2024 19:50:52 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:18 +0100 Subject: [PATCH v2 08/19] platform/x86/eeepc: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-8-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=843; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=3DBlcw5Uc+lUgavKBCn/PyGF+yjz7VdivcFuSZC/Ml4=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnF4TCFoCX2OG7IvrYWNINl4P1WQDwKPPeBq MCuTEmFg0WJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJxQAKCRDBN2bmhouD 1/iUD/9E0L2SN23OQ0KbFtk6ov6hSt6CoxrR2cl7lu0il6sEsl4VU18vauvLcqEerNMeDDUeL4M VHWN/flV2KjayvwcXZCjFlUuoqdojOSzVqFuZ538oClVbb9PIeBIAmY4+3Nxwn+GvlhaMB2FThg uVZ63qp0nTLQ4Iindi9uD9tosomBofDNk2gnA4TWKchN+d8MgWPSMgjS3cQ5uvHqMCIfRF21JVv IYwpvhdJZEpqw8cGfOE5br/1gASHOE9X7V0a9S4Y3ts0Fp4c73AkPSbBoAzdWf35i7IAQ1fEhxB IuRwq8srR2S3LgpibWI5r5sroWLLArg79acbVT9smUg75FDqqJdERtQTQOXA8OeT3CX5RkOQhag riYrk8FC6HUMPCwrWdLDL/X1LN5Ofb7pa4J2bFGzr6R8KgoyXSSA/YT6iJ7SYz9MjoyR9+kIYBb 0xk1Wkq3Lgt7PJgsa3aB4kK2BGC37Ja7wo47osObCQ0lsVJmfSytUEgonLyqRKU1DiXs6Y0iKlD 8IA3L0CaRYnXpr62YhoXZkMCmDcBWomX5QApQQmTzGq8lcrPkcv3L5zqb1g8OXL/rMfLfixex1k SJi4+dkageqwbK5fACVD/9OGUDfzGn+Ed591/gQ9iz2kQ9h79zVQKrUyV9b4qnuY32PXS1wLRIO r3StYfNSCnAOLMw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Hans de Goede Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- drivers/platform/x86/eeepc-laptop.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index ff1b70269ccb..447364bed249 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c @@ -1463,7 +1463,6 @@ MODULE_DEVICE_TABLE(acpi, eeepc_device_ids); static struct acpi_driver eeepc_acpi_driver = { .name = EEEPC_LAPTOP_NAME, .class = EEEPC_ACPI_CLASS, - .owner = THIS_MODULE, .ids = eeepc_device_ids, .flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS, .ops = { From patchwork Thu Mar 28 19:49:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609385 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F192E1EA6E; Thu, 28 Mar 2024 19:51:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655469; cv=none; b=sn29/Yn2DNN6mVqGaG/OF3gxsd4oQnQQS2MfnfJiAC2ryIG9NHbvMYT5c4poo7TD9dJbwyjHt9q8sEGcElNi4od3IVQeBxkkQcl7KtbdRt2AZPyPujbyiMnJLVNgRiK816ealxOtJavaPMxfDxW6KOWTDUIiB4pVV+mD6XolEbM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655469; c=relaxed/simple; bh=atsGEmkFbuwoMNttwqx1F0yIynHkaEbwFezW18HyMOc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tpxK7efh8oS1KJeTZWeMJa2Kv0yL++2vP2eywHZXm2RD8rZFKCnq6UKVMd+WcXM4xv3RzdERemodw7tNKfSxsVtwXzDH2B/WK9gSQtPbcH3MSfpnmEO+LXTjoIZFe5J98qQEp9uryia9h4C76fd/2Lqvm7ec/JN81mC77/emEY8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5E68C41674; Thu, 28 Mar 2024 19:51:00 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:19 +0100 Subject: [PATCH v2 09/19] platform/x86/intel/rst: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-9-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=775; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=atsGEmkFbuwoMNttwqx1F0yIynHkaEbwFezW18HyMOc=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnGszDplYNDMhpIQD/TAYJlN3PuXJLxkuC8f Kr76QaTBoaJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJxgAKCRDBN2bmhouD 16JsEACIEhsEhj/FJvoFNXNZ+0et5BZ1m4uWu5TryaOxRTswqcLf0/eaocjy6PSLWStoWlfe1GH vZhiq/VX4knA4nfKcsioR54qbqYs/qHFK3PdHXGMFV+Mv6yk76vjgab8v96ZTHvYUyENtOQwST8 XtSQsYxLJ7fRvF+/eztvHv8fywWYUO4gdB+o/hMtXW4T2p5XPJl8kfamm0fg+ZiD5ann1iyK7Ya O6Fu66xqrPGV0WgduMXfzXAd0lk1gkp5Lkw4HTN/L6MSoOtl7QdI5fWO7PE+J4MAdEkTmAsmzUL q+VVSDFbWZW/dESb9yE8RTBk5L2PONC/dPb9YKMY1btZIOa1Yp5DvvIDiGL6v/EpvPQvJu9ytWf xSN0yq/Il52tkMvt5Lnyc6I4IUOpMEGNCQF1v5tBlVOa+xCGIMFnw1Vfl5V8eZDtJI8iLOHzfwt ToG5DxDpYkau+nWAEoLJ9IJcKSe6pa3bcaaZZdczFyMAv42rX8PB3I07tI9E7pLQALNX2dN0Ta8 XJJVnOxMaKzGl9ubXY7WABzTIKKWKrBc2uEEeHqbdc/AlYpbQ8hsdCKh7EOCeK8aKSw/460f/AO fy3OG/kWgg5daGWpfF1GFs8iogre5Np1H9U2uITsF86vkTfS3DzvwkZVBhe0jMHlfqYWjOMgNza JgKy9HlfNDoI3hQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Hans de Goede Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- drivers/platform/x86/intel/rst.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/intel/rst.c b/drivers/platform/x86/intel/rst.c index 35814a7707af..6bc9c4a603e0 100644 --- a/drivers/platform/x86/intel/rst.c +++ b/drivers/platform/x86/intel/rst.c @@ -125,7 +125,6 @@ static const struct acpi_device_id irst_ids[] = { }; static struct acpi_driver irst_driver = { - .owner = THIS_MODULE, .name = "intel_rapid_start", .class = "intel_rapid_start", .ids = irst_ids, From patchwork Thu Mar 28 19:49:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609386 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8827E13A41D; Thu, 28 Mar 2024 19:51:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655477; cv=none; b=amJenpVr/hJvdqwLq8HTlg2wxTGDYU+DtHoaSIhCuCrEP5lLdwSWDXU2BDBhECnpyXKUumEun9MLOfbXRe9cnhSTYrffqQTyYjHALY8shm0ckdMcXuXuA/RwHScvjw9FZ7FwQ/gGouK5smGLi8/TBntAdGAIIrvjfOvLWOF25I8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655477; c=relaxed/simple; bh=0nW38Bhg6oefE8bRlPKT27U3IF63dXH13lRRqPo2U40=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eNBMWp2SJg5UH6oBnhNpfWDEW/77eac4WjNhG8NXVcQnjzNQS/FCP8Rt8K7FK0opTCxpYCtzzbiTeVmI5OJnh5QbIJWgxa9l8VHrW8vgnRHqDi9TQ3+2slb3BThBkMaZvN/A8wLY2P3gE323dpC3AzMItPN03eHKoo8nBbNgr/0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0868FC43394; Thu, 28 Mar 2024 19:51:08 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:20 +0100 Subject: [PATCH v2 10/19] platform/x86/intel/smartconnect: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-10-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=888; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=0nW38Bhg6oefE8bRlPKT27U3IF63dXH13lRRqPo2U40=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnHI+fLj6TQwOHnlEmbZ6FxpzRq52RY763MR nzIN79UrB2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJxwAKCRDBN2bmhouD 10wBD/9XkMl8OBVcxJEVwL68gmpeMVt8oPSvBTufPFhkSxS5n7po79xMsSf2+B8DGDkwiA0YzyA ZDxR1ELTeFvOz2w5Bm5wZ/txLIacADcaWlZ2kUmg+oKVeFAw39EMepZ4kzcO9EPwgy19425vrbh uxxZ+Xxxp9HXyVGXAFV8U6x7GLA4Zn04pBvlYGfrQvngFn/+keC+5BUQnSYehdDUopoCpMmn+Vv SPxV3Exy+4OgLuKrj7QBfK9J2kLRZCfVk6UbFHV+vEjfdWs+eA4vblEsoUa/qtabuG+YmHm1Cnf xNVBFqcjulHS1DtAHPwgOBfXIYUALgnawXjDunV3DosOrFobXpfa/gpqYwDmD49kkDDjL4jnKBT lRyoxokPASa1UYn4M6D7oF4XXQhjIuGa846rRxQ5SQqyGwmY+r7vXfZOGEwoR64ooCptSHMxNsa r9Box+RQkglDpnZV+VY3OtmAVAhWXeFBwq7kMTnmZ03234fbVjhs6xY8PK1TDyPXq30uKbD0QUn uJe29LvhydW0cQ87rx4NqVWboMjfYEQDXH3dxuvy/7uPiRxa1BRTj6lp/TU3vNaL6qxdhSq8LIq VFmXOaAjCOoo3K4ZXY4JgyqUaSYIfyG4Oqu175/iJHGVJqrAsaOHaUH3C78eYZsSBAF56fdldqw 3WLIXrjKn3rVUTA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Hans de Goede Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- drivers/platform/x86/intel/smartconnect.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/intel/smartconnect.c b/drivers/platform/x86/intel/smartconnect.c index 64c2dc93472f..cd25d0585324 100644 --- a/drivers/platform/x86/intel/smartconnect.c +++ b/drivers/platform/x86/intel/smartconnect.c @@ -32,7 +32,6 @@ static const struct acpi_device_id smartconnect_ids[] = { MODULE_DEVICE_TABLE(acpi, smartconnect_ids); static struct acpi_driver smartconnect_driver = { - .owner = THIS_MODULE, .name = "intel_smart_connect", .class = "intel_smart_connect", .ids = smartconnect_ids, From patchwork Thu Mar 28 19:49:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609387 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3FC7913A86C; Thu, 28 Mar 2024 19:51:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655487; cv=none; b=t2PzoxmqgYa7Ji08teZYXf/CMdbSDSj3SlqO+BaGPVILSvjvWTeuTto3qbaxS4Vps39ZQsO5CtgQU00YMfEhzpXtU2OwKhvym/na603SP5IrfJuYXmiod1tzC6cGjSFp7qb414vfpd9nz4jGXbDW1p1Sxsi0+v/EiR8obWfKFW8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655487; c=relaxed/simple; bh=5+ORG/j/kb1Cve3f9rEDzoG0cfc3WHU3p/pEfGdSHAI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BdgJS86Rzq/SuqkEaO/4hFCWU1DujNs4mVEDyP5NK1/Ax9+LO1PimQyJcmlKTNfjA64hrLnGh48v7xmlKVRFXEplEgdGynddfvwjn0HaSgHC1kAxHHzi+Ty8oas5R190SqvoJAn90+Uiek9WmjfNDdozCCUrRMl5wY8CX1bAvvE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7417C43143; Thu, 28 Mar 2024 19:51:17 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:21 +0100 Subject: [PATCH v2 11/19] platform/x86/lg-laptop: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-11-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=735; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=5+ORG/j/kb1Cve3f9rEDzoG0cfc3WHU3p/pEfGdSHAI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnIQ8hQdZMOn2jGeMGfQmpim/Q8HVFW1L/dr QNO6uQwzuCJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJyAAKCRDBN2bmhouD 1+j/D/4m8pRSwGGl6rlDdeTZDx9mSnA1417XbXeU4pItzPnbaows031JtAyLICdsNKXciXft9j7 Qf/V/BSJTL4zZ6/LHVOXrdp+Et5Xr0ZC1eA9p/Ps05WqPVxYXGLXehHX04DA8bL9GzOjYUPttF2 T3LesFXytBT/aHgNedyO3OjIsVcqtwixwiqH9e3oIKF1w8Y6oWyy/znWKCb7ost4WlpK76USI1z 62zowiRAFb5q0FI3ND3gf80gicXq2eWRTq8di/vwLQu7IjCr6feL+F173ZKquG8POzM0u0kdH3N 1iyGmVZi6FY2GLmwo7qJ0cqNRU8OrVTqWY0eN0eC1Jt1BEukU42PRrNNsO1lJC/eMF9/NAJb7HD 7iPDZdsxE+SCoM6sEThSQtx5H0wLx7ii5iZvt37cr2LsWDem5QdP/EFS6Ps83fwbDKQlrIuNtZl as6gRFiIKOr08JZoor6vhIFltMs9xMnq5BTqPEmmguQMZUxNgDBfkDgTjyvYoDMDZUZ/izsDa2w kfbm7lk7rv09s1oJXq0Ioc29YInWiF7dEr42V4SuLuUzf+2pgvocdVLp+qdtIsnOEnf3Yi//3zs ftUOyLVgdcK/DbyE+M1nLfSmvJnvvP/BvrhNWqC1uKIh7VeJbMRRdO/4c+NLIKSvky/R4ePPRat U/Cgj3Q6W/ueC5w== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Hans de Goede Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- drivers/platform/x86/lg-laptop.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/lg-laptop.c b/drivers/platform/x86/lg-laptop.c index ad3c39e9e9f5..36e88b9d59ea 100644 --- a/drivers/platform/x86/lg-laptop.c +++ b/drivers/platform/x86/lg-laptop.c @@ -790,7 +790,6 @@ static struct acpi_driver acpi_driver = { .remove = acpi_remove, .notify = acpi_notify, }, - .owner = THIS_MODULE, }; static int __init acpi_init(void) From patchwork Thu Mar 28 19:49:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609388 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF3BB1386D3; Thu, 28 Mar 2024 19:51:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655495; cv=none; b=ZVDHHSpnR3yxM9XmgoddVveCa9Gltx8U5IfA0MfgDDdDBgRP8tBy2sqQ/WJmMbIMoa2tFJyM2PXNq2+tba/fOnH8tonbMrTKvOTIQERPDOObUdfkI30HYZ7iT4VGUdieVk5h/dyZy2Dqfj58jECNcRa/oqp5V0g3LOOPxTeHjI4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655495; c=relaxed/simple; bh=/fri/mbQzXv0DCaHIG5MYdobhipeSpfUI4L+XzGK7Yw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=i/hGwMDIOx7dYvMHbnB+DdFybLfdA9az2grfAVmoxvrBIY9xxl6Ft4qx/iW1Yf6F35oVzjs4lKmJj9JyRcYy5xDclSu4CRd1yhM1ElVTNfug2lQvVW7D9lrXHjc9rJCwMWaO3sratm08w1yXzLs4YA78JphJdYz/CUGP64AHAWw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 376B1C433B1; Thu, 28 Mar 2024 19:51:26 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:22 +0100 Subject: [PATCH v2 12/19] platform/x86/sony-laptop: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-12-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1056; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=/fri/mbQzXv0DCaHIG5MYdobhipeSpfUI4L+XzGK7Yw=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnI+0P0nKPcDaw4xeIiValSm9HqzcE1SQ+rq AfAS2R9muiJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJyAAKCRDBN2bmhouD 19fND/9VLlKtGjkucaO+i/FbQaPCBWDWn7z+YQBVAcDfniIehG6Xln3PvEYdhGRO96DaFnsfmEt Qimauwz6KvLLHNZPPLHbfd1l2zX2WUAVnCLzyDLUIVqgQzj5ARXgtr99Ep9n1KiICopK8fcmfoB /fIKMp5dPijIAm1Kdq8EZk7Aqgln0XKrB0j7ukBIWIai0wG/OIMO032JihbbRBfTVmzDOxRGqqV G0a7+Moo/BwMbsvhLarnpDOYWmrh6ZCne87N1nJg223Z4XoCL38raUnIwSY/F5kwDNbtr+qU3q8 VM1sNfubREQYsuTzFDVdlrG5/RenSNM7j7pIxjTp4ht5WdWwbkYDa41H3+THJ2YFYMQ3kaAyWm+ /nUjgFXbY0LeqCCEhsFEvx/3+Rf6lRK8NELHdoPXwC+PpvGhIH21tpaglOVe2iQmibtTOzzhf2l 2qpiwF0b0zacpE5mBNK3eSwZnmBHFBsIbCoAGhMgwaocurU5/BcYOBMaEdOkWd5XgbFZfbr+22x +Nb0JOw2mkiLGZUUXAjEZaVt1xtOHib5QurGZzoDfoNelNuyIYE3+f8dfCHeP8gW9QI/LOwsJ3M F01CEERdyhlZHw8zyegjKNktYgSWvEK7KN8Svt1x9/htjR3lB3RegdXZWIywkmrHY+a7p6JkNzH 8t1z5UR6fKas1Ow== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Hans de Goede Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- drivers/platform/x86/sony-laptop.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index 40878e327afd..3e94fdd1ea52 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c @@ -3303,7 +3303,6 @@ static struct acpi_driver sony_nc_driver = { .name = SONY_NC_DRIVER_NAME, .class = SONY_NC_CLASS, .ids = sony_nc_device_ids, - .owner = THIS_MODULE, .ops = { .add = sony_nc_add, .remove = sony_nc_remove, @@ -4844,7 +4843,6 @@ static struct acpi_driver sony_pic_driver = { .name = SONY_PIC_DRIVER_NAME, .class = SONY_PIC_CLASS, .ids = sony_pic_device_ids, - .owner = THIS_MODULE, .ops = { .add = sony_pic_add, .remove = sony_pic_remove, From patchwork Thu Mar 28 19:49:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609389 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F036C1327FC; Thu, 28 Mar 2024 19:51:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655504; cv=none; b=YIjCPCdbSI7hBGaSRUolF7VYsGGL67LyovhZWzbol8Z8fSXm+EdYl4vjGD7wExzDp15WdJEi8nLyxpsutN9G5XM5TrOAF9NZGlnSPK1rD5tTS2i+NiB4d0snwvx92wr4qzMZy9g5QIgH43dGkRrChR9SCYgpA37kHkdrksSiETQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655504; c=relaxed/simple; bh=xvwjO1ctpRWgQ8uQfCIcwduTfHPgjwW7cbfiixA0wVE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GqgtdiPy9a7NLLqfQYSTwycn0DLXEtF7pPfVpG2+Am2RZzORwkVVkg7vRT2Wqii90PM32fLxsJhV4QOUsTY1Gf41tWU4AhlcDlNmyKVgWhMxHOB5HOZQ1w5vpO2ekhTGz+XyuapSpIYFNaSf3LkO6rAeNA3/SZHEX+dZJMs1UCY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 298E0C433A6; Thu, 28 Mar 2024 19:51:34 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:23 +0100 Subject: [PATCH v2 13/19] platform/x86/toshiba_acpi: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-13-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=821; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=xvwjO1ctpRWgQ8uQfCIcwduTfHPgjwW7cbfiixA0wVE=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnJVUxyXi5Mws/ocE69olyJ+xaVkcKyeNGMT JccvU07jBqJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJyQAKCRDBN2bmhouD 13+kD/9INzAMbfdMa5tKi+EMiEfR2+pSxEON1/iFLoiqdEqJKLxl2Qi09lUb///xM0A7vUkN7Tc d4dlFHZuEzFNtrBeRlxUQ8ycxr161rwcTVt2tXRfuRzHMw8aIFeGOcsC76tY6DSl4nUT8cfSKav mB9QuG8BmkwH9ANZvs225Xl+y0PW32ioUs1f8W+M57RTRfmb1tqPzzHfYG1BMSVW7hu3Y/79miM t4zAoVrz2FA64ZnJ2Fi9KTuPLy7ievqEIk7FuqFuZPbf2a42OG8yFJ5hWP54JTd3d8QereDbGvy SXFIuRuNqESWFUNwzMi8QEZuJKxez7FK8bgXykWlmn+P7qp3LkRt0+OM61nmMIOuDAO4KZcNzwf YnVm1nfq/Jm2yWFa3Nzd+OatnlLat693vsHVmO77urCFDTWMEoe5MQHqPcTPqANIg0EdYtnBQ6d GXXBLNrf3i4F8yvHK6xAo1jVqw4j02pjehuul0FU7Yw23pmb/lHIHmj3zt6RzAxsJN4ywhv62Jd mHP11YzL/Hba0UdKPdzPRgFmJHpmxKmKFCyeFR/vCqpa5EZYYqp9R4wNicj8g69Dcuy0odXx/q5 UM7GBkSkKIHrySTuzQLesC/NK+DCnsO9IKN95cOXRcCcaRfQz6T/GygOr2CJkvU+EM1J/wkGtCy maYyiF/0wYu+/tQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Hans de Goede Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- drivers/platform/x86/toshiba_acpi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index 291f14ef6702..6f9bd675f044 100644 --- a/drivers/platform/x86/toshiba_acpi.c +++ b/drivers/platform/x86/toshiba_acpi.c @@ -3581,7 +3581,6 @@ static SIMPLE_DEV_PM_OPS(toshiba_acpi_pm, static struct acpi_driver toshiba_acpi_driver = { .name = "Toshiba ACPI driver", - .owner = THIS_MODULE, .ids = toshiba_device_ids, .flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS, .ops = { From patchwork Thu Mar 28 19:49:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609390 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A024A1384A6; Thu, 28 Mar 2024 19:51:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655511; cv=none; b=LJQSzPNmwKFExp1Fn372CjG065YSUI5IWwSGb6fscxQBkDedpPLAfyc5n4ILYv3L0Agm/MFON5VIgkaKMvmnmN7x8r+pHd+OGRhNhDPNNTffYz7sdhDAhK8AYf1ISAID+wac+/ntv7hwV2baJO/vG6F0AEHLO7mVNEQ/AO5S8lM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655511; c=relaxed/simple; bh=xaDWPbF3frEm1uj4xeWNfQgH8jWx3tNApRXczJ9I94s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=G35Xdp1/Sel6+KkyBeI97zEMaMmIgFbHsw+p/IVO+RoexZB9xcgm5GU148NTYUILXsVonwutwpytx026+SsmCNUzE73LPowsweXa2kK1yYnBkYH9RGK7KO7Jns556/ZS7q49+72tpxgsZduZB5rIHOy3bKE2teP8/FjG7Jp45GY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF318C433B2; Thu, 28 Mar 2024 19:51:43 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:24 +0100 Subject: [PATCH v2 14/19] platform/x86/toshiba_bluetooth: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-14-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=811; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=xaDWPbF3frEm1uj4xeWNfQgH8jWx3tNApRXczJ9I94s=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnK7Vo+PbCSX5qCpKPIYeIzy8wo5XJl6wCj5 toe79KnvZCJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJygAKCRDBN2bmhouD 1w4TD/9QqkzQGZlRE+LOaL8Zr57uL9X38ieV9q3eJKgYyeuPMIxsMGyeGtXLzLz0GmbdMJPdvzu 7g3bZFPdbO+ac0Vn0tAMnhF3HdJEfHX8W/ecH/CkMSIhfoaE6/++8bv1nFenekF9T9wntUTnLwK jPevIqhU5qhnnPRvXb3oTB4+WXVkx/wIPUQrae75/me8AJQ9R3M5msMSwAQJnH4p1UuY4puY7yO 4X5oRHvHOJbxBgpT0LLmUOMS4z3u7Cujg0bXBDkxtlXGCMog6LHQuCA85F5jyBgsjCURO9OxLzO PoUdNrILTBme668nUQ6Pk1b0DN4yIcRo29tHQZEtSqgdnIaQb3ID1HSNtuo3X8Ion1tZ9x8v5YN TdKqBVc2wYdabpbSySU5Sm/azgZfhBiNwaW/QyWps4L/9xoavO8sIWMnoIO+FRY+uibsdUE2gay KvFeHX72fYPwK0TgFQXWAiG+E2Vx5gFVgyd1GuMWgWMiF/5P/DgNEbpPvg6Yj0ESk6UXSC8PZ2R IpRUh3SI/isLSKGpWKgKHSS6qd+a0rZ6/CsXtetVKEaqfm+LhE5FWN06ocK42vh+nVX6x1kAbjn K0XTUslzPPeItoCzkWr2Ii2FxEJE4xPpZrvlvLqG7mTQhyktwiy/zhKSL1ZGI3DOfAemAeimPd1 Tj5rtgVEPPDumwg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Hans de Goede Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- drivers/platform/x86/toshiba_bluetooth.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index d8f81962a240..dad2c3e55904 100644 --- a/drivers/platform/x86/toshiba_bluetooth.c +++ b/drivers/platform/x86/toshiba_bluetooth.c @@ -59,7 +59,6 @@ static struct acpi_driver toshiba_bt_rfkill_driver = { .remove = toshiba_bt_rfkill_remove, .notify = toshiba_bt_rfkill_notify, }, - .owner = THIS_MODULE, .drv.pm = &toshiba_bt_pm, }; From patchwork Thu Mar 28 19:49:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609391 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42C5A13AA4E; Thu, 28 Mar 2024 19:52:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655522; cv=none; b=okbRMzgvHZwrsMFXZFY4pCZe5pseoYAYFvOYI8iHytKFyL6eJ/Cf4kOUxQrFOhT8UmFwK9OmR9THAYUf7wTg4Z5fZZsupoAlbUt/RI30FSjhKwCW0WNTTKvvMzcuyg+AWpCCslK7kMzy+5At+nojjjwXFyPUvdlC2IiLHChJmhU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655522; c=relaxed/simple; bh=xGVJt6+/r9o89w/Ir7NAMrSCc/R/FBduUds9siGC4pM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BOD2R1hqXgR29Xd2mbhVPgOuTnBWUU+rOeh+5vQ87yC58rimZq1f0C4KpkyjltceyW0LWK8TWue7yiv5d6+bdz5aVUwlva1Emi2G/f9De/X4e3p8U6KlxYDx8CqzAZ3j1N1DdvtMsLQCv7GXEeK4NXNidJHEDHaAKVfqj3juxmA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD8FAC433F1; Thu, 28 Mar 2024 19:51:51 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:25 +0100 Subject: [PATCH v2 15/19] platform/x86/toshiba_haps: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-15-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=811; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=xGVJt6+/r9o89w/Ir7NAMrSCc/R/FBduUds9siGC4pM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnLad1exuxqI2D7kiwMkCJvx2lTBCfdK/Cm8 ZVKtMGKoA2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJywAKCRDBN2bmhouD 1xEJD/962FoUI4SiFXsTBY/p7Rcny9hCMRqQ7BndLrr2tIHNZLr+Trc0kEDsFmgnafqE7ST/nKR 329oWwZXNohgeAMU3p/jXU7AOwdYmbaqvd5jebM0JrjsSKRvhbSpziNmTGXG6k/6QSawzJfeYEB VngtpD7vsQSS8jZA6WWsMN7xG7Kbab3dy2ltgw5+sxK+LyaQCyxLOMZiozrfi2uZzTejc6XpfaK MoeejQhSZ6IK0p0BqVdWzuKg+baDxSQTvvAkZmIpV1JRD1wM5GikD4za4OfOY5m3NVzsNqK7stB mmS87itzZKQ32TUO+eHTErjqV1Buq9VZa2TKVg3x1EPyJOH1zRTOgpu80YxvcdgGRnfO1sX8gU1 qRiGWjV2H+8zK8X+H1unIseqmxre6jl2DmgdEicsTCr8P3LSuUkLC27hduAMzzVRag7mFqjTIaT 728Z/ugg/QgivrdRfgHde4lMPjsAXMYMFcN4x/L726SIpEc33+aUjFwURQwwEYUk7wRK/NZNYn3 vdM728Ot8MNYcr2YJuiia3Y+AsECYenuPlltQptgyAkbP+8LsqZPKUJEGfH06mC26+KJJ4hrBmb ZMXGX3tXCcsucbz5nm/YLUS7yz/oZSPVie4PNPYOZScAi72GXf+VKlS40Op3LzWdma4YvVWJdMM 2uhztK6sngZyVGg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Hans de Goede Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- drivers/platform/x86/toshiba_haps.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/toshiba_haps.c b/drivers/platform/x86/toshiba_haps.c index 8c9f76286b08..03dfddeee0c0 100644 --- a/drivers/platform/x86/toshiba_haps.c +++ b/drivers/platform/x86/toshiba_haps.c @@ -251,7 +251,6 @@ MODULE_DEVICE_TABLE(acpi, haps_device_ids); static struct acpi_driver toshiba_haps_driver = { .name = "Toshiba HAPS", - .owner = THIS_MODULE, .ids = haps_device_ids, .flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS, .ops = { From patchwork Thu Mar 28 19:49:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609392 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B676213699F; Thu, 28 Mar 2024 19:52:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655530; cv=none; b=fhXSq+WSXdz7DtpGmy47f1Y0cQ/c6eMPOe7oibUk7c94BHSt9PLa1bbKtpDsmmUiCjzIFFTMfY/I2xnAace7FTnZ+lhr/7X6UL74l6G+gvTYxc5TJ/gL+DaZq/rm377KKfsB6VMKgHnyEdZu/XScpTPiSWTcXlWqam6hyJ+ctSs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655530; c=relaxed/simple; bh=9J7YSUOv2ZQVmETXiMXLHTxbVV+WzglKLXMRl654O48=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=a+2Poec3bLN6lJpJNY18wYuEDWtoh9U8HD+ikArnocBEDXmZJ9JADQ7oRydIXLfB2s6v9qUXEUj/J959oD1vW00YP5sUEmAWqLlKPn0u1spG/nT/hBpa+m15DD99yOGUQuPL1pf9I+61lXtqQDigSSZ/hJinXlVSw9d0IRzVYq0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75B80C433C7; Thu, 28 Mar 2024 19:52:02 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:26 +0100 Subject: [PATCH v2 16/19] platform/x86/wireless-hotkey: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-16-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , 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=9J7YSUOv2ZQVmETXiMXLHTxbVV+WzglKLXMRl654O48=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnMXnuyx29d5rYRAoJY98Lg+JpIibGaHEYe4 iAf5wFXhCGJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJzAAKCRDBN2bmhouD 1+8lEACBTzY3YaXGddrJo9OA/wZDaxmZ9nG+vH4DTkj5bAAVuFUuNjy55z4WolK/Qy1p8FG7GVd v6M181Fr/aoNp6PzRAUk+99BRUTlt7oZocxQW9905HJnq9qeinoaIgJzoY/rpkk0k/50sxA+MAa S0qrMAVvpO8w8GjGJWQrhGjeSR2de+YMq1bC6y6llZTPT6Twp8TRwUTSiO8FttE+lvSLTuAw0Tc 1dEZkLh5U0kW83xh7C6ev6eBsPLhVbXJ6K3HiCU+NGT7nMfBvpb8ICpHeNgAGQVL6aS/geTEX5I Rx9irwahAkQfN4UO7UE4SHuoGM2eZ2ofTQ4tD5JdsaZnplzkzo6eeOr38pg15wyJ2FkgN/PsIfg p0Ne7uyR3zfVJat5oI56YZLvMmG4eReiSSo7sNj/NqEEbT6Mqxxiz6JC9q34qGI34mX1H9WVLMv kc9rpsjKcc8QC4vy8wydAm7ebKrPqkR7bjjHgfr4i5HnxUXOumC42UQ/PseQAv17er4LorMpuo+ EgILkcnuou3YHq8XTnb3CCYGA5S3gAPW3TMjC3sWq0Gd0llxYcB1OI/aH/BXVrnrWzMSMvKIyG1 u7vukoql29QBDWkgg58W7WJxHyrEWrDhHTu59NITe/iRwzUcjjJIfX5NjKy6ztn6mSJHwCPICcA ZMhqK4FyusFecSA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Hans de Goede Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- drivers/platform/x86/wireless-hotkey.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/wireless-hotkey.c b/drivers/platform/x86/wireless-hotkey.c index 4422863f47bb..e95cdbbfb708 100644 --- a/drivers/platform/x86/wireless-hotkey.c +++ b/drivers/platform/x86/wireless-hotkey.c @@ -110,7 +110,6 @@ static void wl_remove(struct acpi_device *device) static struct acpi_driver wl_driver = { .name = "wireless-hotkey", - .owner = THIS_MODULE, .ids = wl_ids, .ops = { .add = wl_add, From patchwork Thu Mar 28 19:49:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609393 X-Patchwork-Delegate: kuba@kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 58CD5139D07; Thu, 28 Mar 2024 19:52:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655539; cv=none; b=Z7+zrPXauWbQBUwnIhKrxcHAicJkJrDRO+SDDbEvQjefkS2g7jT8Tou7uiWkhuHHzwdF1cbdJd77pS6NrJ9YxWRB6LmEaTmokefN2YQvI0H00MU7mBjPGTsjNt4F/a5nPV2XJXyGg/4mzV1hhvlw05sDaT+bZQ+bdtxEx42I/j4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655539; c=relaxed/simple; bh=khf7terHbtPWIrrbnKNLxPcFHL/7yWbxaISMdJE7KVA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=o3uk8Y9HIOiQWsMKWJdDLtaVCLvmGy21p+3F2DhmQWL7siWd+DY8/hT/UwsuDSj4u3ZXsHIkt0gdtjI7Tv/osIRvvLZiFW4Y6E/5nnBteU16z6FsBZX30c3hUl1u+4R8Bol7fDxOgjM3Tbeej3Nthok32YV+UVOLNn+xZDnby6w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30657C433C7; Thu, 28 Mar 2024 19:52:10 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:27 +0100 Subject: [PATCH v2 17/19] ptp: vmw: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-17-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=651; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=khf7terHbtPWIrrbnKNLxPcFHL/7yWbxaISMdJE7KVA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnNqUS96sjoffNSE8XYoncIwtw82+UO9dqr3 nWfPOlHjkGJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJzQAKCRDBN2bmhouD 1z6UD/43DOuPoMrN5aIi+8knUY9cMhfmlOL4x2aCCfKT1JSb6Sea4qOF/kZXQrZ1MPI1gSO3Ky9 vGqQqubY6/yytl+3WsXzFPckVfKTvUnJkhSf4N9ZdyWvp1i03ROFqOS523Im9mF3AxEuzbjRNXH I8NZ/7dhGCqtk9X8qNbaeS0EfgAUPQLFde4yJ0tanJN9z8+AWlGAznd2wOpCYxuI8kSCMsl1yqU Ebp55H+2nxRUDoyePPCHuCnqKMFZtTXS3er3N6unkPBVcNQyjTAU0T5XITO3CYCneXSGuR22fCW FhM51xJ4B1iuayddPP+YgIQaPQagf/kqajy/mxYc55FCge/Hbx7AaCJ+XwLAh76IM2IMI/Z0Lto kbk+vbHKACzbzbmdONyvGxwU3qCX9/oeI/IBLYp/WZBqnMbXNu8Eo9EJ956uX0Mv7mxgrrw9vsK asD4q70l8GkBo3je9IhfNFJmQpAquc0rK8Ln3+oMQdyACn8iJSxZIhKAxsA7l6LwQ/C0gFCy7nm ScByNSyYFgbefFnSts2UGDNsB0FZXGC6co/uxUe7wKoJIPNL2hcafSGdjduBnZZLUDSd6uO5NB3 kVDR62mcssJeUgAYgXLc0ZcY+m06C4sqfdQvnenIx7l98mnRHPgEWI6Z65MDtbmE1CB+UrKnPds d3lyexL5c0944ow== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-Patchwork-Delegate: kuba@kernel.org ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- drivers/ptp/ptp_vmw.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ptp/ptp_vmw.c b/drivers/ptp/ptp_vmw.c index 27c5547aa8a9..7ec90359428a 100644 --- a/drivers/ptp/ptp_vmw.c +++ b/drivers/ptp/ptp_vmw.c @@ -120,7 +120,6 @@ static struct acpi_driver ptp_vmw_acpi_driver = { .add = ptp_vmw_acpi_add, .remove = ptp_vmw_acpi_remove }, - .owner = THIS_MODULE }; static int __init ptp_vmw_init(void) From patchwork Thu Mar 28 19:49:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609394 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3768139CF6; Thu, 28 Mar 2024 19:52:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655547; cv=none; b=uJX3ZFO2JN0gu/OL58SgOEF0rOBC0PQepsPUEoBVuXdJpQdL/GM2QNpXzf6u61mAuh0iAyZH5yzJBZbJFN1SnBkx2enNNIFcRBBChahUGgRNouHS5BCWx60aahhSOZYMuxyScKzaRohJwSXo/GRNACjB7gnXj0sIYkSNjeCOLks= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655547; c=relaxed/simple; bh=8K0Tk05vHjsLv5OTTjcqwFzqs0iqpDP0i+VNxkkswqE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OL3Ul2G/BA+PrCwWEEuf5uCYDsKsnSfcLyRxxFGwfenU4Y+0J/xNrldY4V1Ib78Ml1JQC/MbzlNcRkgWS2EMA2dgoK94XJJgT+/kilUBxoVpIthmhzjE/tbKtTHBYIicOS+gKID4MYWhC3jMCWxxYqeKauUWtVju0TyaDEM59AM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACFE4C43143; Thu, 28 Mar 2024 19:52:19 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:28 +0100 Subject: [PATCH v2 18/19] virt: vmgenid: drop owner assignment Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-18-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=699; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=8K0Tk05vHjsLv5OTTjcqwFzqs0iqpDP0i+VNxkkswqE=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnOKPbyS0IIixjJbv3BHHEXsQ31pkxjywnsN oLTz8EQY6yJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJzgAKCRDBN2bmhouD 1/VJEACV1noeShYwrbEDeG27Ox+LOhb/t7QcqwWoqvCvJcYr3KuJuZFMHuvWggNnjE8XqFH4zqC 68XxMKErTMJUYzvTHZgN71HE9OA1yQN8WRW+yPqwVSH300CH96NrzTLwmIiPvfYddVF9++/Txzq H5HAAMj299gtGHD9nNE25M47a+ZyUt8XamKVVNu1JwdulmZeOJtthLl8VjHHq9YWCV+IApmVxyx E+3TNsuzBxOWeGouGNrj2T1O8XHeLt7nRdFQAG9G4oazWpUyFLmKGeT5DvphkRyBdvzSNg2SsxR SKRNzLdlu0ZXJ9QQmB1PXX9tzlydL0TJ1si1Y1bGL7X8lFdI5i+o2fkaXLO57i8RHvUQ4j6ewNI P7qkeS8dn1XhDg4h2IeLQkrPLu0KCRF/xCGWbv+GQkyri4HAneaSAQKyRXs5NLCMVc6ecYu3h8w Wy2yGHn042oTE6Ps0XMIJMr/xIAeAfG+MITJy/eJ0/opwvPRIdjt1MjqGiMGcRjRl3nonH3jd24 D+e9aLJmEsjjtzCktB7AYZu/mLN518ejcnOHvTh/JxRPa4Gb+r7GJS1jiwSwSUSHMrwnAimqyLn hsp9Rkiu5dib3YH5LlbJaPnW+jltO54q8PBlYbB8Egvb0TJObpOnDbdDvlVxFWL99Rr7OundGL9 OfvGFCpb6qChajA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ACPI bus core already sets the .owner, so driver does not need to. Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- drivers/virt/vmgenid.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/virt/vmgenid.c b/drivers/virt/vmgenid.c index b67a28da4702..8f6880c3a87f 100644 --- a/drivers/virt/vmgenid.c +++ b/drivers/virt/vmgenid.c @@ -88,7 +88,6 @@ static const struct acpi_device_id vmgenid_ids[] = { static struct acpi_driver vmgenid_driver = { .name = "vmgenid", .ids = vmgenid_ids, - .owner = THIS_MODULE, .ops = { .add = vmgenid_add, .notify = vmgenid_notify From patchwork Thu Mar 28 19:49:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609395 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F97F139D13; Thu, 28 Mar 2024 19:52:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655555; cv=none; b=kcHtkgaoL9Le5ynYSAtuMteY8QQvZ/cUkehW43dSt6iIwzxQWoc8JTDQOmuWC/iodxLf7dO8EkyXQ6up8IttpQXRB10Z7b1TWofl25mMSmvvQn75110FSf7po14SwqAYrXvvSLjAjC+sCTDqn6LcX7qWm2A38tNJ88DPYREsblQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655555; c=relaxed/simple; bh=47KuFYZ8L8+G4UI1Pvi3xIrvtmpgxV1zjVNEYiD1uVo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lPImMu3VVirrTj/Gd+bGVL1yNux5qCTIR8oK4zm7MvSZSQtFsaeT9mDAj3hsWjNAKd1dHhx8Gik0bOi0o0zFGa/h/kKTP4uyEjgefSnJqiRQJzNamPfGKrs19kSVrMZbPFwGu7CVGWwgl3oWzpHgf/32RGU9k3tMcjFGmaqJXew= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13FC6C433C7; Thu, 28 Mar 2024 19:52:26 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 20:49:29 +0100 Subject: [PATCH v2 19/19] ACPI: drop redundant owner from acpi_driver Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-b4-module-owner-acpi-v2-19-1e5552c2c69f@linaro.org> References: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> In-Reply-To: <20240328-b4-module-owner-acpi-v2-0-1e5552c2c69f@linaro.org> To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , =?utf-8?q?Pali_Ro?= =?utf-8?q?h=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Richard Cochran , Theodore Ts'o , "Jason A. Donenfeld" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, "Rafael J. Wysocki" , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=730; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=47KuFYZ8L8+G4UI1Pvi3xIrvtmpgxV1zjVNEYiD1uVo=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBcnPtASe+iRyJkpoHwhufZ2+JsLopJALmbniw UDP7ulp1AWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXJzwAKCRDBN2bmhouD 17DoD/0QKCrfY1wzazIXKHtVvuFB1Xfi5lltqqYYwJMDm4OTF6UpYmgo5MzHKJbTebMw05Z4pZf EXEmbB9o8tIjsItkWODjFoUzw3Dat2E2/B6Tpv634gKeMiXI2IvBrsOalPHbWk7v1VlzF6zJswj pEzdmJhzgyz9J6P9w5Vi/+lUS/Zxt6h/CumlMz0c1xRxxn3jkH31JvpYdyVa6RccfxFA+q7V6Gv bPJQFzhqOp1+nZWqd9D/Ykt0u/rWIegxnQHti3T1xfnI7S4HOyXaV47B99l7NOYJvCmr4Ab2BBt 5eYRdjRl7jFLLA2gw7Q3FpZ6pHpsQ/g5pb73wrzKO4c68s0Kkphtglr1vOxAJf6owfSb2hbTfei u0+17WV0r8xpAmaGBEDuaBKrJ4yHO0Cu81M9LIGBXN808vnkw3BKIcjg/WfxXsViFlvqZhPTuHZ eXwou6kxN/EQtyWvmULt496TgdFzxhRHsrGw10bL8gvKrxalcC/on/+sTqzhuBSUVceCxtc4y3e gNkZwN+xwaeub2VgVAAW6B+w8jJxRNuRSlgJLwMP+RF0p2kcd9BB0iHytmLZnHf8krluuTFKfZp N/GXa4RCkkQcPCCMokvj76NTpBbpX6dq1Ri0N3OnIG0ZA9GcjoJG+WMcDyiELXHjA6YCezqkQvl qgi9HU++if1bw9Q== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Once all .owner is removed from all acpi_driver instances, drop it from the structure. Acked-by: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- This depends on all previous patches. It could go next cycle, after things got merged. --- include/acpi/acpi_bus.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 7453be56f855..32aae3ee99ac 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -170,7 +170,6 @@ struct acpi_driver { unsigned int flags; struct acpi_device_ops ops; struct device_driver drv; - struct module *owner; }; /*