]> git.ipfire.org Git - thirdparty/linux.git/commit
ACPI: wakeup: Drop unneeded casting for sleep_state
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 12 Jun 2025 20:11:25 +0000 (23:11 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 26 Jun 2025 19:08:13 +0000 (21:08 +0200)
commitbb4049c9fe94f6b257cf4c211b6df398487da6bf
tree76c135617c6459152d85583ef45fd27b4b7e66c0
parent86731a2a651e58953fc949573895f2fa6d456841
ACPI: wakeup: Drop unneeded casting for sleep_state

Back to the original patch [1] sleep_state was defined as
a custom acpi_integer type variable. Nowadays it's plain
u64. No need to have casting for it anymore.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=1415
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250612201321.3536493-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/wakeup.c