| commit | 00a9d3c99188aad14de4a45995c61ba00894c8f6 | [log] [tgz] |
|---|---|---|
| author | Takashi Iwai <tiwai@suse.de> | Mon Jan 22 14:52:40 2024 +0100 |
| committer | Takashi Iwai <tiwai@suse.de> | Sun Jan 28 09:28:12 2024 +0100 |
| tree | abcb8faa2a18f3d9ce6d72ff8fb729b600658395 | |
| parent | f371dd183ad0b05ad31838a864e7d060ae61009b [diff] |
ALSA: doc: Use DEFINE_SIMPLE_DEV_PM_OPS() Use the new DEFINE_SIMPLE_DEV_PM_OPS() instead of SIMPLE_DEV_PM_OPS() for the example code. This allows us to drop CONFIG_PM_SLEEP ifdefs. While we're at it, expand the driver definition instead of passing directly via .driver.pm field. This seems to be a more common pattern. Signed-off-by: Takashi Iwai <tiwai@suse.de>