From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C8BBA3DA5B0; Wed, 4 Mar 2026 18:55:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772650553; cv=none; b=LCWXDPgXvcrUpUtEpl9VQ4V4GNZsChw+mRvfeXaqcDRojLSbiP554rO8gzSjuUSW3w6ZufMOEUkarKLgEal+6/CAPG45/c9EaRfsPhp2vPeAs8fyfgJURRdkLqAP0aPJOk1CQQ0Nele79xQKAhk24cUCvE57Jp8TJMR7WfVr3Aw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772650553; c=relaxed/simple; bh=Al62TdymjzPb85apT20XaFb3FDGpi7ZZpgnUuu8131A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=YiZ5dG0xuprHwp1O6LyoNzkONJijBYnmzdKts7u8ixV8qgAzj80+jObNeFBuGaqHph4c15YMTn4DCUiWHUs+YfXv19geLQfMIFqIbbBh/xqCX0WyaPbBiqQfvsg+yYon5UqW5Pfl28/nCnfzlCVZz4Ql4g0SGRDN9UDbql/2Q2E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pkkSdw8G; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pkkSdw8G" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE30EC2BCB0; Wed, 4 Mar 2026 18:55:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772650553; bh=Al62TdymjzPb85apT20XaFb3FDGpi7ZZpgnUuu8131A=; h=From:To:Cc:Subject:Date:From; b=pkkSdw8GRaRyPfAZihkn/e31NtlfyOFXZSEZ+WABTBEOAXNhW8OxEn/1qzmc+UWQJ Wt1Hv/WRgqEPhRfS2SaVdZxIE/zcitB0xZALFkkno0Nu/PCLJlcq11N/MnIQQFWBHb G2xQx3Wso21o823ricw+GTDsMoLvfnmBHMCe1iFfQKmy0CHTh7TI2qUiFfUgyXY8Jm /PPG1Ywf1GeChRSGpvdCuSPfKAdPP2lTLhixy1LmloCkGi3OV6reYkd6yd87QpHmO9 WX/cFo3Z9Av6Uc+gqY+vMQhh/7Yn/hwEow7UnCtNMUdIPTqzDMu6SjcSI58AVYjWuW qFIyi1KRaBqUg== From: "Rafael J. Wysocki" To: Ilpo =?ISO-8859-1?Q?J=E4rvinen?= Cc: LKML , Linux ACPI , Hans de Goede , Maximilian Luz , platform-driver-x86@vger.kernel.org Subject: [PATCH v1 0/3] platform/surface: surfacepro3_button: Use platform device for driver binding Date: Wed, 04 Mar 2026 19:53:24 +0100 Message-ID: <2909929.BEx9A2HvPv@rafael.j.wysocki> Organization: Linux Kernel Development Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Hi All, This series is part of a larger effort to switch over all drivers using the struct acpi_driver interface to the more common struct platform_driver interface and eliminate the former. The background is explained in Documentation/driver-api/acpi/acpi-drivers.rst and in the changelog of the patch that introduced the above document: https://lore.kernel.org/all/2396510.ElGaqSPkdT@rafael.j.wysocki/ The bottom line is that the kernel would be better off without struct acpi_driver and so it is better to get rid of it. This series carries out driver conversion of the Surface Pro3 button driver. Patch [1/3] Fixes a wakeup source leak on driver removal. Patch [2/3] updates the driver to install an ACPI notify handler by itself instead of using the .notify() callback from struct acpi_driver, which is requisite for the driver conversion. Patch [3/3] converts the driver to using struct platform_driver for device binding. Thanks!