diff options
author | Deepak R Varma <drv@mailo.com> | 2023-03-02 01:05:41 +0530 |
---|---|---|
committer | Lyude Paul <lyude@redhat.com> | 2023-03-06 19:42:50 -0500 |
commit | 9228742caf899fa72230dd8da19ca4c7528badb8 (patch) | |
tree | 5cec499875d98042a58292c9cf6d6fa6271e9ee4 /include | |
parent | aad9729ec0e009440ac8c1a4be2204e4d3c08977 (diff) |
drm/nouveau/hwmon: Use sysfs_emit in show function callsbacksdrm-misc-next-2023-03-07
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 'include')
0 files changed, 0 insertions, 0 deletions