summaryrefslogtreecommitdiff
path: root/drivers/thunderbolt/nhi.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-09-22 17:32:39 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2022-09-24 09:22:01 +0300
commit8283fb57e46246ae998c6961c89a76ef7f14c6d9 (patch)
tree450b19420b87ed118c6bfee8c5474059286a96bf /drivers/thunderbolt/nhi.c
parent387a42cfcf92eac21b2dec2cdadd207ddae0ec78 (diff)
thunderbolt: Convert to use sysfs_emit()/sysfs_emit_at() APIs
Follow the advice of the Documentation/filesystems/sysfs.rst and show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. While at it, use Elvis operator in some cases. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/nhi.c')
0 files changed, 0 insertions, 0 deletions