drm/xe/xe_hw_engine_class_sysfs: use sysfs_emit() for attr's _show()
authorBommu Krishnaiah <krishnaiah.bommu@intel.com>
Sat, 9 Dec 2023 23:59:49 +0000 (05:29 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 4 Apr 2024 18:54:51 +0000 (14:54 -0400)
commit91b93fae179fca7366acbca662f7582dab062863
tree6ce9625e6f69849aa3da1e57df996a02baa38563
parenta3c86b6d7b1c8ffb46ffd34c3dbe9252da87956b
drm/xe/xe_hw_engine_class_sysfs: use sysfs_emit() for attr's _show()

sprintf() is deprecated for sysfs, use preferred sysfs_emit() instead.

v2: used sysfs_emit instand of sprintf

Signed-off-by: Bommu Krishnaiah <krishnaiah.bommu@intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231209235949.54524-3-krishnaiah.bommu@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c