From patchwork Wed Mar 27 07:43:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13605804 Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53E1F2D04E for ; Wed, 27 Mar 2024 07:45:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711525515; cv=none; b=mGL+SCY0py0UPiKpt8ILzx9PHe0w5jqcMyje7fNg/9G+JoKhSA8kMk/sz1ObBRldzHziUNfymdYRI0vyoCypi3dLDZrbppt7JireOZqjapx7uxudO5pBA51D7hImsARpIpP5i6E2eD3b4A5DLdRre5mQ8kahdW4PyHupTaHyHyg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711525515; c=relaxed/simple; bh=jVvTz/4XtpK8V6h+ZC6ATSj5H2YAdcoH6Ojomo104WA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nEUJTUOTclzU9HobtLtZa+yKhKBucCg1ew3JDH4AEarf/dQRvuSPmi+CKiu6kzKIWdGQbbzaVSgJyhKj2DCjl1slG0lTBfvLMVliZfsYVHDykGS5RmINT70d9CcGdf0VW0m6n7VK6Cbzdqy6rVZqBkIKbIMxlHhlDbsZDtqxonI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=PZQ/KM0Q; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PZQ/KM0Q" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a468004667aso860613866b.2 for ; Wed, 27 Mar 2024 00:45:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711525511; x=1712130311; darn=lists.linux.dev; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=kTe518P+CBoFHdvJv+kQSKIa9d03W9jOgFL3c48DSH8=; b=PZQ/KM0QzDosz6MWaDkPRIHRijqe4668BrjU3Pzt91WnQKuhfyGBz5Gv3DiORkcBXC 1vrk1r51pmQBD+J/1BWmF2myqa38Fri+Cnd1+vZlBNHEhadHRpI/FANcczOEYUhGt8qi 73sGspkhym05Er1E1hmPRiD6tWWrnknQ9SevqxJaqW9Esxmr03VpdPseWsAqfEEX6X4t jUO/ISrrApprTUZ7MjDKV5b2lg0mExuX/WIMwtio9AUYkrJDFXqBITF3ZSSsFZtnNtRi NLlBpc5hUE12sgvuaWcOaFChRGN8OPqWBK8rt3NPIJmeCsSth/4arf8t0AcShSZKF4wu x/dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711525511; x=1712130311; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kTe518P+CBoFHdvJv+kQSKIa9d03W9jOgFL3c48DSH8=; b=kFN/RrDQTrxc3sMZNoCyk3dWOCFo/TBiYxQHEydrL+p/iaYrQXVtocFR2zWwaTeUtY PsyfubBRKoyuvpSUF6/9adyBemKzyaSWpjMb99g34qIGAqbibWqskTb+XWyPJ4wjDC72 QHBd+XFLtNf3VKiRAs8TpvOOE6peoag5VtriS46Pk+anL/Dk8tZe8UeQVOmEnRluXI4H 7KAo9wDeMifEcVCqFkJISKYi/GsMsrI8RbMZiaSUXwl50cnNapKVmQsUJyGds4KmrjFp TNmEEL9YWUoTpSJCtvqS+7OX7Xcfk3WUota+4I4D3YQRP2YY+4qCHumI2l9UzYj9+2zR T2wQ== X-Forwarded-Encrypted: i=1; AJvYcCWMNEWNt8C6dlw8Jt7vA939IJo4sfSKNdrkrA36Y4qrvaigStb9S9+zCc4/9w1Oy1bGPIFEiwa9LsiqX9X6S7Uo/aBGt8vjqMKnoz2MXHYs X-Gm-Message-State: AOJu0YzqANjzFHCpSmOhsawZO9KXe3qRuoAxMIYQgS/zfcBLOsU0O5tb KeBOBLslbMVp6S3RWmYct0qQkOReQRkADAs6mkGl6OguRbN47/XFqTz5I+qzrV8= X-Google-Smtp-Source: AGHT+IFlR06qDg5BKJV2+CT1BhdtoTFGj+rxsS5177vnZTCP37lbIy3IZkv3HaF8xAuayvCallRQJg== X-Received: by 2002:a17:907:985:b0:a4e:b26:5669 with SMTP id bf5-20020a170907098500b00a4e0b265669mr102442ejc.60.1711525510937; Wed, 27 Mar 2024 00:45:10 -0700 (PDT) Received: from [127.0.1.1] ([178.197.206.205]) by smtp.gmail.com with ESMTPSA id am11-20020a170906568b00b00a474690a946sm4671745ejc.48.2024.03.27.00.45.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 00:45:10 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 27 Mar 2024 08:43:53 +0100 Subject: [PATCH 06/19] platform: classmate-laptop: drop owner assignment Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240327-b4-module-owner-acpi-v1-6-725241a2d224@linaro.org> References: <20240327-b4-module-owner-acpi-v1-0-725241a2d224@linaro.org> In-Reply-To: <20240327-b4-module-owner-acpi-v1-0-725241a2d224@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 , Daniel Oliveira Nascimento , =?utf-8?q?Pali_Roh=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Richard Cochran , Jeff Sipek , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Theodore Ts'o , "Jason A. Donenfeld" , "Rafael J. Wysocki" 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, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1759; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=jVvTz/4XtpK8V6h+ZC6ATSj5H2YAdcoH6Ojomo104WA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmA85QLQrQEujrtDSXh0HMI0kzqx7rJQEwfZ0Pd +8TD4fAtH6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgPOUAAKCRDBN2bmhouD 173ND/93zCStU3HCb7jMeB7WGWoFk2fo/hEI4U4aDXloWYBYguWy2w7TPRIjyLS74LwHq/X94Wm 651HaMxhDT6CSRZecijb2+3BPZy798L+tLbbOrzj9qRhJLt49OaRv96YYMlXKL2Y/LrPpLzo99j CpEjQ12NwklrAFPohZ9OuwHgtKQ5jnWu1qj2x/BxOKXaB+Mi1tHsJ+HLOTfOl1U51hK9Q0vb1zk sdN94CVUFNPj/NzW9fM9zLqQQEVKT3RrAfBHuYdS5IF/DJoIRO9p0gszCOg/+9KIUZUucFri3Jv SjOFV2zfFnEMNH521/rVGF2iNWu/57Hng+4mqzdckk0LGqF2EpP9Xv29wbcKbCkbugIbntUJzil W7Zq6iFcGKUyA09aWkKOjgxkNB1MmrkKNLro94NKf+jlSU2qtmtNduZaMHn66iiGB3D+cN2KhR7 e7SicLH/YuN7gdPGuXFXE5Vemny1lqCzgta32M6lL+Odnpelm/UGFjyUbuPmwC2uJaxGQamZAAx mvUE5SfeVz1lDjaZNmUwtLzOFRS2z7HwYMu1vFr/bkU/LL0qpl66hkVvXGX7YMJDAxTWhkBcz2Z toT1rVcP6NoG/+FigBCC3Oyf3Vi70Obs4gEb0r/FiNifUu/4Mw7IqCeE0YGqYxkLtWSapa1EuaH vvlbXFXLH/VHwGg== 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. Signed-off-by: Krzysztof Kozlowski Acked-by: Thadeu Lima de Souza Cascardo --- 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,