linux-next/drivers/staging/axis-fifo
Christophe JAILLET cfd87832df staging: axis-fifo: Use sysfs_emit()
sysfs_read() is anly called from _show() functions declared by
DEVICE_ATTR_RW().

Using sysfs_emit() is the preferred style and here, it saves a useless
copy and a temporary buffer in the stack.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/588327734f374b5f5cb5c4d5725d884fdc83663e.1707654406.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-17 17:29:05 +01:00
..
axis-fifo.c staging: axis-fifo: Use sysfs_emit() 2024-02-17 17:29:05 +01:00
axis-fifo.txt staging: axis-fifo: avoid parsing ignored device tree properties 2019-11-03 13:09:01 +01:00
Kconfig staging: axis-fifo: add unspecified HAS_IOMEM dependency 2019-12-17 09:22:11 +01:00
Makefile staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
README staging: add driver for Xilinx AXI-Stream FIFO v4.1 IP core 2018-07-24 14:14:13 +02:00