]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cpuidle: psci: Transition to the faux device interface
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 17 Mar 2025 10:13:13 +0000 (10:13 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Apr 2025 14:44:44 +0000 (16:44 +0200)
commitaf5376a77e8759084a9a135f50761607fea31743
treef389d19ef9ebc155cc0fa1c42b3a687d00249e35
parentd4a7882f93bf2520315d10ab600ea4701e22be69
cpuidle: psci: Transition to the faux device interface

The PSCI cpuidle driver does not require the creation of a platform
device. Originally, this approach was chosen for simplicity when the
driver was first implemented.

With the introduction of the lightweight faux device interface, we now
have a more appropriate alternative. Migrate the driver to utilize the
faux bus, given that the platform device it previously created was not
a real one anyway. This will simplify the code, reducing its footprint
while maintaining functionality.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://patch.msgid.link/20250317-plat2faux_dev-v1-1-5fe67c085ad5@arm.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/cpuidle-psci.c