diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2025-09-21 12:26:45 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-09-22 09:21:17 +0100 |
commit | 81ef2022b311c7c4f29011f778442635acfaba90 (patch) | |
tree | f05be4b1c0f79aea7690fc31c65ee293df2d6b2d /rust/helpers/helpers.c | |
parent | 07e27ad16399afcd693be20211b0dfae63e0615f (diff) |
spi: rpc-if: Drop deprecated SIMPLE_DEV_PM_OPS
Replace SIMPLE_DEV_PM_OPS->DEFINE_SIMPLE_DEV_PM_OPS macro and use
pm_sleep_ptr(). This lets us drop the check for CONFIG_PM_SLEEP, and
reduces kernel size in case CONFIG_PM or CONFIG_PM_SLEEP is disabled,
while increasing build coverage.
Also drop the __maybe_unused attribute from PM functions.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://patch.msgid.link/20250921112649.104516-2-biju.das.jz@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions