diff options
| author | Takashi Iwai <[email protected]> | 2024-02-07 16:51:40 +0100 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2024-02-12 11:50:26 +0100 |
| commit | e129d6c9ac71e5b7d8d0ea40e63f1130534b3977 (patch) | |
| tree | 589fdd61776a013bd4aeb9c4126f3a904cb72b49 /tools/perf/scripts/python | |
| parent | 8dbcc799a401fe0a37db323f1e77333b4d92b937 (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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions