diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-02-07 16:51:38 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-02-12 11:50:26 +0100 |
commit | 6750d6ed2749f7d431e64a7891188809d1adec54 (patch) | |
tree | 039660b8d9f2f0ecf5c503e4df453aec1c8610b6 /include/misc | |
parent | ea1741dc34f4b70539729e51b0f09cbf7e5faae8 (diff) | |
download | linux-stable-6750d6ed2749f7d431e64a7891188809d1adec54.tar.gz linux-stable-6750d6ed2749f7d431e64a7891188809d1adec54.tar.bz2 linux-stable-6750d6ed2749f7d431e64a7891188809d1adec54.zip |
ALSA: sis7019: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
Use the new DEFINE_SIMPLE_DEV_PM_OPS() instead of SIMPLE_DEV_PM_OPS()
for code-simplification. We need no longer CONFIG_PM_SLEEP ifdefs.
This ends up with the allocation of all 4 pages no matter with
CONFIG_PM, but the code simplification should justify the cost.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20240207155140.18238-28-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/misc')
0 files changed, 0 insertions, 0 deletions