drm/xe/pmu: Replace sprintf() with sysfs_emit()

Replace sprintf() calls with sysfs_emit() to follow current kernel
coding standards.

sysfs_emit() is the preferred method for formatting sysfs output as it
provides better bounds checking and is more secure.

Signed-off-by: Madhur Kumar <madhurkumar004@gmail.com>
Link: https://patch.msgid.link/20251214083659.2412218-1-madhurkumar004@gmail.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
[Rodrigo adjusted commit message while pushing it]
This commit is contained in:
Madhur Kumar 2025-12-14 14:06:59 +05:30 • committed by Rodrigo Vivi
commit af90706f0e
No known key found for this signature in database
GPG key ID: FA625F640EEB13CA