From patchwork Wed Mar 6 17:50:47 2024 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: 13584333 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 A56555D48F for ; Wed, 6 Mar 2024 17:51:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709747470; cv=none; b=Y3rsQWbfE+Le4r+5Pqttv1n7Z098wkFSQt9LszEqktdJIc5op7EC6IZ8UGsZLmfKL42HuKTQ4skg8NgaVLl1lZr3QJf3bbRAbo9B+mx7arCF/4y9KcOKtZcJaYMTD1EFPCw+Ji23ohXDFqk0qaAdLIy81lZdBesiAoYo52qFJM0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709747470; c=relaxed/simple; bh=SbKxO11gsgCf2+YKFzMjaD5jNDGDBgQIEec12VHYgaQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=S7Pt79WwQx7OOj2hQidzR9icbYwxgxBKKnFJSo+O3Kz/Y+mpmBAqoDQoATpjSbI4/xqeJcaH+DHW3ZC3p37zM9opjIosCYAKKBNHz9HDsnvY26VJtVKbLNECpL7UmtashtxsCTr/OmU2kGh7tA/D6aOP2yVbcEZ6o/vQgbXd2Q8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de 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 1rhvPs-0002E6-EE; Wed, 06 Mar 2024 18:50:56 +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 1rhvPr-004n6Y-3l; Wed, 06 Mar 2024 18:50:55 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rhvPq-000nxq-3D; Wed, 06 Mar 2024 18:50:55 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Jiri Kosina , Benjamin Tissoires Cc: linux-input@vger.kernel.org, kernel@pengutronix.de, Jonathan Cameron , Srinivas Pandruvada , linux-iio@vger.kernel.org, Maximilian Luz , platform-driver-x86@vger.kernel.org Subject: [PATCH 0/3] HID: Convert to platform remove callback returning void Date: Wed, 6 Mar 2024 18:50:47 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1061; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=SbKxO11gsgCf2+YKFzMjaD5jNDGDBgQIEec12VHYgaQ=; b=owEBbAGT/pANAwAKAY+A+1h9Ev5OAcsmYgBl6Kz3lHgUalOU6EkRj8/O9U2IfvVtbGWINY79M jDscycxHSGJATIEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZeis9wAKCRCPgPtYfRL+ TiZUB/UWJuP/AGv7iC03TAOK/k2SWrEQ/CzH+6JVZ2vXT+Ga70bnFJu4nDUF8N26NYv3NQFxiy5 JRkzu2gk9+9M/vIbAvKDM9z883ped3UG7k9bHvdzckhzkSGUGIZB6BDuoNMrCFs974BL93ZU/uR Zg61zwmRQM4Z8rQ14GDLuxyWZ91nS+D/Tld1lIeWA+E4wU196M9CYFq1sdjLw8hMpRCOjhjag+I dWhGP6J1y+9rtCI8xNLWAwQg4lodFXgrpwV/cr+GC0ioh8UIkX48y2A4do61+EC8uOjE+RpE0uN eYH+D6vNlRCRZ9AhAxJsa4NeJEBsRT8555fQ9aaNaIF1Ivk= 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-input@vger.kernel.org Hello, this series converts all platform drivers below drivers/hid to use struct platform_driver::remove_new(). See commit 5c5a7680e67b ("platform: Provide a remove callback that returns no value") for an extended explanation and the eventual goal. All conversations are trivial, because their .remove() callbacks returned zero unconditionally. There are no interdependencies between these patches, so they could be picked up individually. But I'd hope that they get picked up all together. Best regards Uwe Uwe Kleine-König (3): HID: google: hammer: Convert to platform remove callback returning void HID: hid-sensor-custom: Convert to platform remove callback returning void HID: surface-hid: kbd: Convert to platform remove callback returning void drivers/hid/hid-google-hammer.c | 5 ++--- drivers/hid/hid-sensor-custom.c | 8 +++----- drivers/hid/surface-hid/surface_kbd.c | 5 ++--- 3 files changed, 7 insertions(+), 11 deletions(-) base-commit: 11afac187274a6177a7ac82997f8691c0f469e41