From patchwork Wed Mar 27 07:43:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13605816 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 8E68256447 for ; Wed, 27 Mar 2024 07:45:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711525552; cv=none; b=RmBNtlKbJ9S8jDK5qRyA9yP9YJRqInC4fev9bemX+JwMCTTAGDy1mxSDpliu1zdDYZh3D0vfHsa5q73sklcrlCOLPa8e1FaImi9YMCuYXdiJyNlalUcDeHEhe+cQIPYVjrdZvCOodg7TlxK9uA6DWkXwBCWlnUr5fuOD+Ehshp8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711525552; c=relaxed/simple; bh=rTr4+VR/jSpIv/sMvw3QDS+RzZvQaSAXby24seNWm5U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iKD40dmHvjU1QY17ObGYI7mqzd1guEUijsMDZo5HPQSXlaUnllaYLSOParH8TRc6O3x0Rx51umG4CdItlUeAUKR8FckbGxEcVuZtaqjWcfi/bOP2h0amau8PMAPibyJBFLVtP0BQyDdw5QwY7LqpPn3WaWlxd1tzXhPA6qjC7h0= 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=fq3sU7WY; arc=none smtp.client-ip=209.85.167.42 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="fq3sU7WY" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-513da1c1f26so7983283e87.3 for ; Wed, 27 Mar 2024 00:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711525548; x=1712130348; 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=9UcXCFoByy8TCDpd1FKhEA3Ix0HKizwo7uUFTdX1fr8=; b=fq3sU7WY+OoDKakxXFF94P35isrptSwVRIaZ5C+DLI4+06eys7QL1UqA3q5KHnerzT 9CHS17QRd4cAyOsR+yrKO/Bp/i5JoMHp8nm9ON+hUfMdUQhTo89c02hdq9IWU7RsSuiL mHJclVlrZgkc7n5nHomL3UORxttr7PIQWogIKPIa7nAC9OjGkv0iz2CwpARJ6mVJLjpP G0DWFqv8tZOyh1H92XUuki31Rx9enEOpLjhupnMD75IemkbPb6Xiw4woY2OWn1J0TFpF lM5MvEsGBiufmQe8q8gwpD84NwfcpCIzzJgTNHf90mAcEH96RRSlmCiWajlc8RC+4hE2 ELog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711525548; x=1712130348; 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=9UcXCFoByy8TCDpd1FKhEA3Ix0HKizwo7uUFTdX1fr8=; b=RbcrFbXn86rkdSzGLVHMRkGyYmhjivDZBBHVpKWEVD5zW6qcXCJ3+IubObkVlXEOtO 72pPkeNPxB19ijv6I3LdWp2ib1N8pedEpEAFHC8j+I7PH5U68krv+zK4G1Bhz+zEIaYM VsfrWI0zdfhyb/fFB/bt7x52hohjYwbBj3AYCWM739lYS+SrXg/L2QEr+bx0J6trLlds AJ/I4l0/j53lhGdFtcyJeZlEEg9goLLK/z2ndvSHS60gjoxObC1dDY2Y0Q5WEg6qKF09 zN2Ym0wlDvZqviBNoQMRnwTzbZpqPmqcB74KLJL0667kNMAmWUbd2wgNYxcxwAV+9xrJ 5hLw== X-Forwarded-Encrypted: i=1; AJvYcCXHgv6OnL4C/rSbBD7qhC60GLRf/+mTkFbtGJ03EjpZK4NS1cRgGSRvDI0Ib7bkaqRL/FAwB2lZG0aG4twgk5wCId0hWH5kP2A1lB+ucbtN X-Gm-Message-State: AOJu0YyDaN5asAewTN1xn8p9EIeJUH1ao6FyQOQkAFXd1Fz1orAfpcVc GDKLbEiZEja9FJMZdYDEumDfnINSCP1CtIJdWwCanDDBuPQ5XiH94VuI9wISbjJ21/eUFtV8HTe 0yPo= X-Google-Smtp-Source: AGHT+IHatzJql1atlaaaDzBZKXPbxstbJY5MbJZUna65M1tpSQYVh1MH0tU9aeh6VIRQQNo2ORsL8Q== X-Received: by 2002:a17:906:6897:b0:a46:6804:3542 with SMTP id n23-20020a170906689700b00a4668043542mr1956805ejr.77.1711525528210; Wed, 27 Mar 2024 00:45:28 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 00:45:27 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 27 Mar 2024 08:43:59 +0100 Subject: [PATCH 12/19] platform/x86/sony-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-12-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=951; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=rTr4+VR/jSpIv/sMvw3QDS+RzZvQaSAXby24seNWm5U=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmA85VwTTtD9fxC6V3OBHEGzTpxWF87AdRz3YGM LXjdEBjRM2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgPOVQAKCRDBN2bmhouD 1yTAD/sH1bH8ovgnHtbSS402LCXv9pl2ngwI6WvRYTo2H1cvWaCYvGlsGJgxBT5Ezc2XBqx3MrW g/ccuKq6LsP/URyaw+MLQJdPUB9/0+r+Mt4RXQYm+SMoPldVnmMdC0dtd4m40SW5G1OtKd0mhwM veY5fF+eE4p/9QfgmjowkUxgbszM+plI1AfHja3UF3N0/azkMN5AiPPeJhHJAxsiyPy8Sfvlp8Y mLCWA684zJTJgCoL1kra/VRGJGmLBIdJXRjmUlHJ8AW+kGGFGwiZrtuK83ZyuvrDE809VM8nPze i2xNnUV6hIGvpoZN/1BoEOeHr+lLvA8/ew6Vd5gcj02u06sNbqEE3QPkRK34XM72aZfqWVCXEbZ 4oYHafACVNYQH8HGW5rVTuuAT3K8e2qqDxdI2KUqyEQnFvyw5U325VbILYvg4aPZlIrwbRdqidW W2w23HFbyFERRqqLlkIFLDgR/CZIVJyXgDJImiuVWfTINPRJ3kAwa0DgybvDcKQOy34+jtVTpx8 bQoF3ce8SqthQtAulRD53cal1K3x/Uq0Y2ge8oFVCuslXln+J5aOnGYlyjGS/rdcxh1Oq63XdTE rMF98ME3bEDlFtRjNzvxvqj1aeWtNG58oZdEG5JZ5RvZ07z1+Rf23rK4fwqWR5ZbTBup8tglpCt hbebGvB+jzH4tDg== 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 --- 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,