drivers/base/cpu: Simplify s*nprintf() usages
authorTakashi Iwai <tiwai@suse.de>
Wed, 11 Mar 2020 08:02:07 +0000 (09:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Mar 2020 08:08:44 +0000 (09:08 +0100)
commit847e33867b65fdc4747a15646d1fdb94e65740a6
tree74f66a850430f147dd32d0a5e65680ec59fc950c
parent4636a04630f632262e915f62deb59fa0f3ee5186
drivers/base/cpu: Simplify s*nprintf() usages

Use the simpler sprintf() instead of snprintf() or scnprintf() in a
single-shot sysfs output callbacks where you are very sure that it
won't go over PAGE_SIZE buffer limit.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200311080207.12046-3-tiwai@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/cpu.c