summaryrefslogtreecommitdiff
path: root/drivers/ufs
diff options
context:
space:
mode:
authorDeepak R Varma <drv@mailo.com>2022-12-09 01:41:43 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2023-01-11 21:53:34 -0500
commit679062c65b2c7824b5bf6cef9d286ef101466122 (patch)
tree61ee6ffa5c43e8a2a2a49c4f82955c6354ae2a7c /drivers/ufs
parentd058bea181887e2e05416c6bc1adc6e1d2798f3b (diff)
downloadlinux-679062c65b2c7824b5bf6cef9d286ef101466122.tar.gz
linux-679062c65b2c7824b5bf6cef9d286ef101466122.tar.bz2
linux-679062c65b2c7824b5bf6cef9d286ef101466122.zip
scsi: pm8001: Use sysfs_emit() in show function callbacks
According to Documentation/filesystems/sysfs.rst, the show() callback function of kobject attributes should use sysfs_emit() instead of the sprintf() family of functions. Issue identified using the coccinelle device_attr_show.cocci script. Link: https://lore.kernel.org/r/Y5JE/xI2NNbnox/A@qemulion Signed-off-by: Deepak R Varma <drv@mailo.com> Acked-by: Jack Wang <jinpu.wang@ionos.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ufs')
0 files changed, 0 insertions, 0 deletions