Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp680774lqh; Thu, 28 Mar 2024 12:58:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWJhikqq2S4xkLy6sSPAS423nQHIHn5NCALSe6TmNcFUm8xfYkMdb4RzhUsBtgG6UIVdFSDVMcuQsLi/Wcv198ahMakh6wBWbCw/v1Xcw== X-Google-Smtp-Source: AGHT+IGR8IisOBgChK1Pu7mPh5F7MFRbTfscU88ujwfWYkhwF55nm7CQqBQrvh/ZY1bWxfifdOWP X-Received: by 2002:a17:902:e849:b0:1e0:b871:53f5 with SMTP id t9-20020a170902e84900b001e0b87153f5mr704172plg.20.1711655880941; Thu, 28 Mar 2024 12:58:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711655880; cv=pass; d=google.com; s=arc-20160816; b=nnr9wcqYu0AU/bDmd2NityB2rQ20WEHDJnmEDmKrALQ65NyiwYi2XBV2C6S9PevqdC XYJiwaLmkqEvnElD6Vpl5Ntw+8Uf+gLiP8YtQvlH1CyOVMj7DhOAbVEpxRyy1Ixl7u1k uk2YOaNFGxmYaE15fx3mTwpaSR+iILlOOjox0ROOJUBE+89gP0HOHeDu2ex6pdIUx2/i kMUrCEMLfWQZaoa3v1qTAFlX+4m9fCw1pP50QxMunEoD1RwBRblLfQRvTOsoITt7bVAb 9kxhBBSjFpfhTEe8fcCXNMsr7GCxFhp0fTKT/UZ10EnJOH6Pp90ZfAgexQiofC0dCoBS 5leQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from; bh=Osv0ZsHmVBs3pDEZQlk/U6/dpnBaEJVDRYlHrRke+gU=; fh=BpeQANCZzEUv6ySzWGj+5uwmAyjD5jIx1rYqvtPyD+A=; b=y/MSHQJoaZgQonluIVQHEQd/etb2ljRtQkWUrpir6WafuA+uDz5Otdy2Y/yyBeebaz hbu3l0d8CkYGHvPcyf5f4jbLHDbZTDnaSntsUFEEuZ7z3cffbJuxSvhJELerHEfiWhRr OdJf8S7hDgav8p+OSW8MDD9RifZPaFhvb7h/GKYwgOVsOc6ABwCRE7D9X/5eBhq/L7Ka YfeJq+asDnuTIbLRzwPktuneRXkGPADNG7xBhszlpscvHUFnoFDXXvdJcVz3CkS4aJhZ vk/YJ2khQ02F+gMGRwjKXN94U98WOMaVGL2w80xtJS5L9PQj79TX7urMgxTTpKZWSOk1 5JHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-123524-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123524-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id jg21-20020a17090326d500b001dca843f0bcsi1955995plb.443.2024.03.28.12.58.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 12:58:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123524-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-123524-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123524-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 19E86B22F4A for ; Thu, 28 Mar 2024 19:57:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 07CA113FD6B; Thu, 28 Mar 2024 19:52:36 +0000 (UTC) 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: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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_Roh=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; }; /* -- 2.34.1