diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-09-22 17:32:39 +0300 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2022-09-24 09:22:01 +0300 |
commit | 8283fb57e46246ae998c6961c89a76ef7f14c6d9 (patch) | |
tree | 450b19420b87ed118c6bfee8c5474059286a96bf /fs/sysfs | |
parent | 387a42cfcf92eac21b2dec2cdadd207ddae0ec78 (diff) | |
download | linux-stable-8283fb57e46246ae998c6961c89a76ef7f14c6d9.tar.gz linux-stable-8283fb57e46246ae998c6961c89a76ef7f14c6d9.tar.bz2 linux-stable-8283fb57e46246ae998c6961c89a76ef7f14c6d9.zip |
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 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions