aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-08-01 19:01:08 +0200
committerMark Brown <broonie@kernel.org>2022-08-15 01:19:51 +0100
commita111ae4d7f0796cf2ea0e8bf3ab6c06a401e0560 (patch)
treecff70a3fbabc94fbe63c9270dff99318493a1451 /tools/perf/scripts/python
parentASoC: DAPM: Replace sprintf() calls with sysfs_emit_at() (diff)
downloadlinux-a111ae4d7f0796cf2ea0e8bf3ab6c06a401e0560.tar.gz
linux-a111ae4d7f0796cf2ea0e8bf3ab6c06a401e0560.zip
ASoC: omap: 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 the open code with new helpers, sysfs_emit() and sysfs_emit_at(), with the proper string offset. Signed-off-by: Takashi Iwai <tiwai@suse.de> Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com> Link: https://lore.kernel.org/r/20220801170108.26340-9-tiwai@suse.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions