Prevent the use of macros, and rely instead on kernel configuration for power management. This series makes the same change over six different drivers: usb-st-dwc3, sdhci-st, st-spi-fsm, ahci_st, sti-dwmac, spi-st. Signed-off-by: Raphael Gallais-Pou <rgallaispou@xxxxxxxxx> --- Raphael Gallais-Pou (6): usb: dwc3: st: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() mmc: sdhci-st: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() mtd: st_spi_fsm: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() ahci: st: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() net: stmmac: sti: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() spi: st: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() drivers/ata/ahci_st.c | 6 ++---- drivers/mmc/host/sdhci-st.c | 6 ++---- drivers/mtd/devices/st_spi_fsm.c | 6 ++---- drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c | 8 +++----- drivers/spi/spi-st-ssc4.c | 6 +----- drivers/usb/dwc3/dwc3-st.c | 6 ++---- 6 files changed, 12 insertions(+), 26 deletions(-) --- base-commit: 8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2 change-id: 20241228-update_pm_macro-e4585beafd33 Best regards, -- Raphael Gallais-Pou <rgallaispou@xxxxxxxxx>