ata: libata-sata: use sysfs_emit()
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Thu, 2 Dec 2021 05:52:57 +0000 (14:52 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 4 Jan 2022 11:00:12 +0000 (20:00 +0900)
commit58c541146b6601ad0b12f2a1f8fc925a3a3e0006
treeef19074bec006d620f7751407cf5bc2872e7b363
parent23c72ffedeed6d513144fa09834b1eb0cb2b7373
ata: libata-sata: use sysfs_emit()

Use sysfs_emit() instead of snprintf() in sysfs attibute show()
functions.

Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/libata-sata.c