commit | e80355dd25aeab0e260911829e1495e17219bf1a | [log] [tgz] |
---|---|---|
author | ye xingchen <ye.xingchen@zte.com.cn> | Thu Dec 08 15:45:17 2022 +0800 |
committer | Hans de Goede <hdegoede@redhat.com> | Thu Dec 08 17:12:28 2022 +0100 |
tree | abefb1464860eac2ac2869883eb42337779ffd88 | |
parent | e84cfa364339e28f3f4bcc1dcc265dbb210bceea [diff] |
platform/x86: sony-laptop: Convert to use sysfs_emit_at() API 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. Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn> Link: https://lore.kernel.org/r/202212081545178689771@zte.com.cn Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>