[PATCH 0/7] ALSA: Replace sprintf() with sysfs_emit()

Takashi Iwai tiwai at suse.de
Mon Aug 1 18:56:32 CEST 2022


Hi,

this is a patch set for rather simple conversions from the plain
sprintf() & co to the new helpers, sysfs_emit() and sysfs_emit_at().
No functional changes are expected.


Takashi

===

Takashi Iwai (7):
  ALSA: ac97: Replace sprintf() with sysfs_emit()
  ALSA: aoa: Replace sprintf() with sysfs_emit()
  ALSA: control-led: Replace sprintf() with sysfs_emit()
  ALSA: core: Replace scnprintf() with sysfs_emit()
  ALSA: pcm: Replace sprintf() with sysfs_emit()
  ALSA: hda: Replace sprintf() with sysfs_emit()
  ALSA: line6: Replace sprintf() with sysfs_emit()

 sound/ac97/bus.c           |  2 +-
 sound/aoa/soundbus/sysfs.c | 22 ++++++++------------
 sound/core/control_led.c   | 29 +++++++++++---------------
 sound/core/init.c          |  4 ++--
 sound/core/pcm.c           |  2 +-
 sound/hda/hdac_sysfs.c     | 42 +++++++++++++++++++-------------------
 sound/pci/hda/hda_sysfs.c  | 23 ++++++++++-----------
 sound/usb/line6/pod.c      |  8 ++++----
 sound/usb/line6/podhd.c    |  4 ++--
 9 files changed, 62 insertions(+), 74 deletions(-)

-- 
2.35.3



More information about the Alsa-devel mailing list