From patchwork Mon Dec 4 21:52:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 17523 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3060355vqy; Mon, 4 Dec 2023 13:52:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IE0XYWQMlxwd94zPgxqf5grv0+VG351VOzlCZC73mGTOklJHsTAIk2rVJ+T5I3lyTNeyFL/ X-Received: by 2002:a92:d6d2:0:b0:35d:6741:600a with SMTP id z18-20020a92d6d2000000b0035d6741600amr2869328ilp.58.1701726775700; Mon, 04 Dec 2023 13:52:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701726775; cv=none; d=google.com; s=arc-20160816; b=CRncVKbIxrq18R1ELh/uUeE2WcV1HG6nqEpWvu7X7I75yXFjfyWnEjf8K/opUhZhi3 6NXKjKFZUNC8ckJ6seO1b5X+asoB/U4ltt0rtcGeO3p1kDGQAemgDHsZi/j6j+snnm1I 2Krk0PWDhf87xU2mphw42euirXmV+cMl8VdkUlQ2AYGJ+DtgV4HdNJ4EeUszzbfg8xUb 6qnAGot3fVwoy6i6UdLYcTt3aAvQ4V7AzGpTxLlKhvo489cSlJE7UHefqGgacqIfQi/Q L7yp38uXf/0A75FlF1XjbO25C2j/gevjX1YtjHA2/tyJsFQdJVWXmf4BicGuU8huF/4c 3fHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=aFbEjQz68QBRhPxcCPUfSakalQmbZqK5mzXRbG9K5k0=; fh=YUEwAxht8HGaV9LEVEGU31IXKnjZcZYOmQo7+MaT50o=; b=au9fUzK30odwjjQvvli2OdQ3Ey59PyNymy5YxnlnUuuwDptgkFhd2AngSMHet6Hfz8 eSqPksQ7fzMqLj2+zHqoXoCbJeLUjY7ZtL5KPW6biSIKFs+KeSgWZhCUBS9SAP9J8mFH sBTMOxVKGi+0/vM7KD+Sh4bEn5/u60j9jLMmmtIHf2MAwh8U64Y1Wn5GnQOD4AoG3Cpx 3zlxhMcNK71xGQ6J+8AW9TafcqeFYGJsJrWFcSoRc2TaxlC6lFQ5zhKdCVjrUINJPEXW yj2yQgHGK52zbkVa8x1ms6mSQebLBCBpmpsQ3gQxcVlWBLECHGnPlYoWayqzI7Cn9vWa ejXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id g70-20020a636b49000000b005b9b68add89si8259756pgc.84.2023.12.04.13.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 13:52:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 2878680A9D68; Mon, 4 Dec 2023 13:52:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234458AbjLDVwg (ORCPT + 99 others); Mon, 4 Dec 2023 16:52:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234439AbjLDVwf (ORCPT ); Mon, 4 Dec 2023 16:52:35 -0500 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B90CD130 for ; Mon, 4 Dec 2023 13:52:41 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rAGrU-0008Eo-Az; Mon, 04 Dec 2023 22:52:20 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rAGrS-00DbUW-A0; Mon, 04 Dec 2023 22:52:18 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1rAGrS-00ELqA-0a; Mon, 04 Dec 2023 22:52:18 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Corentin Chary , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Rishit Bansal , Mario Limonciello , Jonathan Singer , Krzysztof Kozlowski , SungHwan Jung Cc: acpi4asus-user@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH 0/2] platform/x86: Convert to platform remove callback returning void (part II) Date: Mon, 4 Dec 2023 22:52:10 +0100 Message-ID: X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=992; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=6W4Bw07YmZ6dkRE+41Ub7UADhfL9BCnI8ALg6x7UF8Q=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlbkoJcpDBEGP0JgHKk5sypRFcSUGnzXAlParZZ 73nOCMLA0iJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZW5KCQAKCRCPgPtYfRL+ TmbYB/0b3tfXZOBeVu7TTQCRZ/WPfsoPs7nYYFhBUrs2Cqcy5SmE2AJbCEN7mo20ubCfR2m3fsw ZeSWk7wrlKxfe8QKYx/eucJ3DtLUf9rniY2x1CciZ8Vo9xMDzu9zUWph8plJrkcdTIo24W7Monb IJ4ozFsT9bDrA0jdjxzffov5S6UbYsVvFAjpz/sNpo9aanCb225Nvlut8Y6lCo39aGgyg8B92fw vVX+GNIof32fGx4ZDBOZ1hr51vr8EHSFulhhrQYnt8MaL0NI9i4D278wRLpj1cDx11hzp/tt+a1 Dxmy8+EaWdH0PafAiNtOd/c6MArKh2oKNdzpsEkuAYDyeQI9 X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 04 Dec 2023 13:52:53 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784389855322162702 X-GMAIL-MSGID: 1784389855322162702 Hello, back when I sent a series to convert all platform drivers below drivers/platform to use .remove_new()[1] I missed the two drivers converted here. The two patches have no dependency, so each can be picked individually if needed by the driver maintainers. (But I won't say no if Hans picks up both patches together :-) See commit 5c5a7680e67b ("platform: Provide a remove callback that returns no value") for an extended explanation and the eventual goal. Best regards Uwe [1] https://lore.kernel.org/r/20230927081040.2198742-1-u.kleine-koenig@pengutronix.de Uwe Kleine-König (2): platform/x86: asus-wmi: Convert to platform remove callback returning void platform/x86: hp-wmi: Convert to platform remove callback returning void drivers/platform/x86/asus-wmi.c | 5 ++--- drivers/platform/x86/hp/hp-wmi.c | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) base-commit: 629a3b49f3f957e975253c54846090b8d5ed2e9b