platform/x86/intel/uncore-freq: Replace sprintf() with sysfs_emit()

Replace sprintf() with sysfs_emit() in sysfs show functions. The
sysfs_emit() function is the preferred way to format sysfs output as
it ensures proper buffer bounds checking and correct return values.

Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com>
Link: https://patch.msgid.link/20251230124516.229125-3-kaushlendra.kumar@intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
Kaushlendra Kumar 2025-12-30 18:15:16 +05:30 • committed by Ilpo Järvinen
commit 7b0a51955b
No known key found for this signature in database
GPG key ID: 59AC4F6153E5CE31