Commit 692fc8a
ASoC: samsung: Convert to RUNTIME_PM_OPS() & co
Use the newer RUNTIME_PM_OPS() and SYSTEM_SLEEP_PM_OPS() macros
instead of SET_RUNTIME_PM_OPS() and SET_SYSTEM_SLEEP_PM_OPS() together
with pm_ptr(), which allows us to drop superfluous CONFIG_PM ifdefs.
This optimizes slightly when CONFIG_PM is disabled, too.
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250317095603.20073-77-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent 43a2930 commit 692fc8a
1 file changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1216 | 1216 | | |
1217 | 1217 | | |
1218 | 1218 | | |
1219 | | - | |
1220 | 1219 | | |
1221 | 1220 | | |
1222 | 1221 | | |
| |||
1254 | 1253 | | |
1255 | 1254 | | |
1256 | 1255 | | |
1257 | | - | |
1258 | 1256 | | |
1259 | 1257 | | |
1260 | 1258 | | |
| |||
1733 | 1731 | | |
1734 | 1732 | | |
1735 | 1733 | | |
1736 | | - | |
1737 | | - | |
1738 | | - | |
1739 | | - | |
| 1734 | + | |
| 1735 | + | |
1740 | 1736 | | |
1741 | 1737 | | |
1742 | 1738 | | |
| |||
1746 | 1742 | | |
1747 | 1743 | | |
1748 | 1744 | | |
1749 | | - | |
| 1745 | + | |
1750 | 1746 | | |
1751 | 1747 | | |
1752 | 1748 | | |
| |||
0 commit comments