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: 13605796 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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 E64A456454 for ; Wed, 27 Mar 2024 07:45:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711525552; cv=none; b=HllhhH/uRK4quF7O7tmvSX7hCxFaKMilbO2Ctg1QQ59UzbThhqNcc0mVuRC3b15pd3KP0L5dO8lDIAbslpJmb44kp75iD0/fSEbmYXO09LS7z35lrvpmFZJq0IUoQ7kesntPxkK80THRR1ndBM2nEiKcNa3SkbZSfxF2hA8EWIA= 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=kqzJ3J2B; arc=none smtp.client-ip=209.85.167.48 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="kqzJ3J2B" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-513da1c1f26so7983289e87.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=1711525549; x=1712130349; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=9UcXCFoByy8TCDpd1FKhEA3Ix0HKizwo7uUFTdX1fr8=; b=kqzJ3J2B18BJ5E3nPP3YgdOkcBm+PP+kuPF9nuUry4j7jhlT6+4c9RFZcvqkqOKD1N OdKJ0n+9TsMyhV3TUBdX+YE62szmUoFzTQg5Doe6DKNTQUZ3EkeImIMDjKA/wBlyVSvi xnXTIFv2Yi0vyv9usaffConr2KIeylWV0R0+YjgF/v5t4HH4zpT/M2VPL9UpzR0ycCik FRZ1y3CLgS2Lt4/4P+Hdg7F9ub2MDRkA0OqOhh3loJxGnWjysAFfMEW1Gc44WtPc0TYe w3oYpgpLgdq0LI9PvTbY0sIqi+7fiD8da2MCuVhfuiRie5xTVOIlJVfAMrOC/8XSA2nN v3+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711525549; x=1712130349; 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=D/xHKX2w1fqZQJ/qxPYv4y0EZt34wPdijueKNWSDiTAUnJoPzAXOrSv+rv1tCGUkLe PN1KUWD4PtqDhTb/FE5U/rR8cgymTpo+/oZOHHl2JPcOt7J5AdXvR3zW3PZ9hZPwE8Cl ZXgkcvQZKXefgr5TTHt+JXBQyNyVxq7/FWGSxojNzhV0nvQnFTDVQ92GloCuuFBqlFSV QsteoVQ4PrA6Hnq251WQCTgVGs2r6oq+DAdCOyeOqEbRGSbhYVp1kbo+u9Q8pixFkmad /i8k3QOb+vTqBx5CsXGGvxqJ3EcWSo0XhpcLOMe+J3Hvg1OKdS8l9SBQINE5wXYIS6A5 q9Bg== X-Forwarded-Encrypted: i=1; AJvYcCXqbT09LUc4X+TkdXcFhcSHQT/NTdjDN4mwe1NetmmRtkHubAdc1t0+y9CopnjfU5dLXYWFYwcDO9wpbLo70e843oqKhgef X-Gm-Message-State: AOJu0YwusaJKa3JatrDp10v/mT5S+Jezz1PnTGKXdp2p+5KO8vrwv/tf 2OrFn0KIv0cSNbi6gu3URt/Nk7GQM8/DOFGt8++uUVlNiojN+Uvxtd4P5MN+wAdkQFFRwSuxufj x1Ew= 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: netdev@vger.kernel.org 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,