Commit 3106db4
spi: sh-msiof: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
Convert the Renesas SuperH MSIOF 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/108c136f2cab9aa8bc8ac90d14a05e66fb87deb0.1752087740.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent 469d7ea commit 3106db4
1 file changed
Lines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
1323 | | - | |
1324 | 1323 | | |
1325 | 1324 | | |
1326 | 1325 | | |
| |||
1335 | 1334 | | |
1336 | 1335 | | |
1337 | 1336 | | |
1338 | | - | |
1339 | | - | |
1340 | | - | |
1341 | | - | |
1342 | | - | |
1343 | | - | |
| 1337 | + | |
| 1338 | + | |
1344 | 1339 | | |
1345 | 1340 | | |
1346 | 1341 | | |
1347 | 1342 | | |
1348 | 1343 | | |
1349 | 1344 | | |
1350 | 1345 | | |
1351 | | - | |
| 1346 | + | |
1352 | 1347 | | |
1353 | 1348 | | |
1354 | 1349 | | |
| |||
0 commit comments