[PATCH 00/29] ALSA: Clean up with DEFINE_SIMPLE_DEV_PM_OPS()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

this is a patch set to clean up the use of the deprecated
SIMPLE_DEV_PM_OPS() with DEFINE_SIPMLE_DEV_PM_OPS().

Most of changes are strightforward, but some needed tweaks, either
defining the dummy functions for non-PM configs or unconditionally
enabling a few bytes for the storage.

There are still a few leftover SIMPLE_DEV_PM_OPS() even after this
patch; those are with the lots of build dependencies, so the change
would be non-trivial.


Takashi

===

Takashi Iwai (29):
  ALSA: aloop: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: dummy: Replace with DEFINE_SIPMLE_DEV_PM_OPS()
  ALSA: pcsp: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: als300: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: als4000: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: atiixp: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: ens137x: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: intel8x0: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: nm256: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: aoa: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: aaci: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: pxa2xx-ac97: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
  ASoC: pxa2xx-ac97: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: at73c213: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: ali5451: Embed suspend image into struct snd_ali
  ALSA: ali5451: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: azt3328: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: cmipci: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: cs4281: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: echoaudio: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: es1938: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: es1968: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: fm801: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: maestro3: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: riptide: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: rme96: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: sis7019: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: via82xx: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
  ALSA: doc: Use DEFINE_SIMPLE_DEV_PM_OPS()

 .../kernel-api/writing-an-alsa-driver.rst     |  6 ++--
 include/sound/ak4531_codec.h                  |  3 ++
 include/sound/sb.h                            |  3 ++
 sound/aoa/fabrics/layout.c                    |  7 +---
 sound/arm/aaci.c                              | 10 ++----
 sound/arm/pxa2xx-ac97.c                       |  7 +---
 sound/drivers/aloop.c                         |  9 ++----
 sound/drivers/dummy.c                         |  9 ++----
 sound/drivers/pcsp/pcsp.c                     |  9 ++----
 sound/pci/ali5451/ali5451.c                   | 32 +++----------------
 sound/pci/als300.c                            |  9 ++----
 sound/pci/als4000.c                           |  9 ++----
 sound/pci/atiixp.c                            | 12 ++-----
 sound/pci/atiixp_modem.c                      | 11 ++-----
 sound/pci/azt3328.c                           | 11 ++-----
 sound/pci/cmipci.c                            | 11 ++-----
 sound/pci/cs4281.c                            | 13 ++------
 sound/pci/echoaudio/echoaudio.c               | 21 ++----------
 sound/pci/echoaudio/echoaudio.h               |  2 --
 sound/pci/ens1370.c                           |  9 ++----
 sound/pci/es1938.c                            | 11 ++-----
 sound/pci/es1968.c                            | 17 ++--------
 sound/pci/fm801.c                             | 11 ++-----
 sound/pci/intel8x0.c                          |  9 ++----
 sound/pci/intel8x0m.c                         |  9 ++----
 sound/pci/maestro3.c                          | 29 ++++++-----------
 sound/pci/nm256/nm256.c                       |  9 ++----
 sound/pci/riptide/riptide.c                   | 11 ++-----
 sound/pci/rme96.c                             | 30 ++++++-----------
 sound/pci/sis7019.c                           | 13 ++------
 sound/pci/via82xx.c                           | 15 ++-------
 sound/pci/via82xx_modem.c                     |  9 ++----
 sound/soc/pxa/pxa2xx-ac97.c                   |  6 +---
 sound/spi/at73c213.c                          | 11 ++-----
 34 files changed, 86 insertions(+), 307 deletions(-)

-- 
2.35.3





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux