diff options
author | Deepak R Varma <[email protected]> | 2023-03-02 01:05:41 +0530 |
---|---|---|
committer | Lyude Paul <[email protected]> | 2023-03-06 19:42:50 -0500 |
commit | 9228742caf899fa72230dd8da19ca4c7528badb8 (patch) | |
tree | 5cec499875d98042a58292c9cf6d6fa6271e9ee4 /tools/perf/scripts/python | |
parent | aad9729ec0e009440ac8c1a4be2204e4d3c08977 (diff) |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions