summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_gem_shmem_helper.c
diff options
context:
space:
mode:
authorDeepak R Varma <drv@mailo.com>2023-03-01 22:35:41 +0300
committerLyude Paul <lyude@redhat.com>2023-03-07 03:42:50 +0300
commit9228742caf899fa72230dd8da19ca4c7528badb8 (patch)
tree5cec499875d98042a58292c9cf6d6fa6271e9ee4 /drivers/gpu/drm/drm_gem_shmem_helper.c
parentaad9729ec0e009440ac8c1a4be2204e4d3c08977 (diff)
downloadlinux-9228742caf899fa72230dd8da19ca4c7528badb8.tar.xz
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 <drv@mailo.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/Y/+pDaHOgG1x8Py2@ubun2204.myguest.virtualbox.org
Diffstat (limited to 'drivers/gpu/drm/drm_gem_shmem_helper.c')
0 files changed, 0 insertions, 0 deletions