Commit 7d61715
spi: rspi: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
Convert the Renesas RSPI/QSPI driver from SIMPLE_DEV_PM_OPS() to
DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr(). This lets us drop the
check for CONFIG_PM_SLEEP without impacting code size, while increasing
build coverage.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/0b64c1c3803e6d3eeb3ae9cd8921d4fe67f37118.1752087701.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent 3106db4 commit 7d61715
1 file changed
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1404 | 1404 | | |
1405 | 1405 | | |
1406 | 1406 | | |
1407 | | - | |
1408 | 1407 | | |
1409 | 1408 | | |
1410 | 1409 | | |
| |||
1419 | 1418 | | |
1420 | 1419 | | |
1421 | 1420 | | |
1422 | | - | |
1423 | | - | |
1424 | | - | |
1425 | | - | |
1426 | | - | |
| 1421 | + | |
1427 | 1422 | | |
1428 | 1423 | | |
1429 | 1424 | | |
1430 | 1425 | | |
1431 | 1426 | | |
1432 | 1427 | | |
1433 | 1428 | | |
1434 | | - | |
| 1429 | + | |
1435 | 1430 | | |
1436 | 1431 | | |
1437 | 1432 | | |
| |||
0 commit comments