platform/x86: dell-smbios-base: Use sysfs_emit()
authorye xingchen <ye.xingchen@zte.com.cn>
Fri, 23 Sep 2022 06:32:33 +0000 (06:32 +0000)
committerHans de Goede <hdegoede@redhat.com>
Tue, 27 Sep 2022 13:05:32 +0000 (15:05 +0200)
commitbbfa903b4f9a0a76719f386367fed5e64187f577
treeab096995a94d427a9e56387b475e45b16943679a
parenta283781baa0c38a8e9c7b26780e3ee7a91a4f186
platform/x86: dell-smbios-base: Use sysfs_emit()

Replace the open-code with sysfs_emit() to simplify the code.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/20220923063233.239091-1-ye.xingchen@zte.com.cn
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/dell/dell-smbios-base.c