Re: [PATCH v1 1/2] thunderbolt: Convert to use sysfs_emit()/sysfs_emit_at() APIs

From: Mika Westerberg
Date: Sat Sep 24 2022 - 02:25:15 EST


On Thu, Sep 22, 2022 at 05:32:39PM +0300, Andy Shevchenko wrote:
> 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@xxxxxxxxxxxxxxx>

This and the following patch applied to thunderbolt.git/next. Thanks
Andy!