Files
Centos-kernel-stream-9/drivers/mmc
Desnes Nunes 232ea9eb53 mmc: rtsx_usb_sdmmc: use modern PM macros
JIRA: https://issues.redhat.com/browse/RHEL-147786

commit 99a44c327f68db78f48343ba6ad48ef06d91fb6f
Author: Jisheng Zhang <jszhang@kernel.org>
Date: Fri, 15 Aug 2025 09:33:49 +0800

  Use the modern PM macros for the suspend and resume functions to be
  automatically dropped by the compiler when CONFIG_PM or
  CONFIG_PM_SLEEP are disabled, without having to use #ifdef guards.

  This has the advantage of always compiling these functions in,
  independently of any Kconfig option. Thanks to that, bugs and other
  regressions are subsequently easier to catch.

  Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
  Link: https://lore.kernel.org/r/20250815013413.28641-15-jszhang@kernel.org
  Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

Signed-off-by: Desnes Nunes <desnesn@redhat.com>
2026-03-16 21:54:55 -03:00
..