]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: skylake: Replace sprintf() with sysfs_emit()
authorTakashi Iwai <tiwai@suse.de>
Mon, 1 Aug 2022 17:01:05 +0000 (19:01 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 15 Aug 2022 00:19:48 +0000 (01:19 +0100)
commit548f7c118d8bd3162ba934ed39e4a6c2c88993ed
tree3ced937ed48d2a95ac9213c5174a83d792c6e1d8
parent9abbc8e6dddc6bd3669f25813c2a20b6ac357f38
ASoC: Intel: skylake: Replace sprintf() with sysfs_emit()

For sysfs outputs, it's safer to use a new helper, sysfs_emit(),
instead of the raw sprintf() & co.  This patch replaces those usages
straightforwardly with a new helper, sysfs_emit().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220801170108.26340-6-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-nhlt.c