aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorDeepak R Varma <[email protected]>2023-03-01 19:35:41 +0000
committerLyude Paul <[email protected]>2023-03-07 00:42:50 +0000
commit9228742caf899fa72230dd8da19ca4c7528badb8 (patch)
tree5cec499875d98042a58292c9cf6d6fa6271e9ee4 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentdrm/virtio: Fix handling CONFIG_DRM_VIRTIO_GPU_KMS option (diff)
downloadkernel-9228742caf899fa72230dd8da19ca4c7528badb8.tar.gz
kernel-9228742caf899fa72230dd8da19ca4c7528badb8.zip
drm/nouveau/hwmon: Use sysfs_emit in show function callsbacks
According to Documentation/filesystems/sysfs.rst, the show() callback function of kobject attributes should strictly use sysfs_emit() instead of sprintf() family functions. So, make this change. Issue identified using the coccinelle device_attr_show.cocci script. Signed-off-by: Deepak R Varma <[email protected]> Reviewed-by: Ashutosh Dixit <[email protected]> Reviewed-by: Lyude Paul <[email protected]> Signed-off-by: Lyude Paul <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/Y/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions