drm/i915/gt: Use sysfs_emit() and sysfs_emit_at()
authorNirmoy Das <nirmoy.das@intel.com>
Mon, 30 Jan 2023 13:13:58 +0000 (14:13 +0100)
committerAndi Shyti <andi.shyti@linux.intel.com>
Thu, 2 Feb 2023 14:36:01 +0000 (15:36 +0100)
commit1f16fdbb2a5a7504fcc4be057000e589cb427fbd
treec7627114116b8afb031dd78f52c97e20f6a55801
parent73a6c676542ac18d2556be80260bf554f1cef4ae
drm/i915/gt: Use sysfs_emit() and sysfs_emit_at()

Use sysfs_emit() and sysfs_emit_at() in show() callback
as recommended by Documentation/filesystems/sysfs.rst

Cc: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230130131358.16800-1-nirmoy.das@intel.com
drivers/gpu/drm/i915/gt/sysfs_engines.c