linux/drivers/counter
David Lechner c3ed761c9e counter/counter-sysfs: use sysfs_emit everywhere
In the counter subsystem, we are already using sysfs_emit(), but there
were a few places where we were still using sprintf() in *_show()
functions. For consistency and added protections, use sysfs_emit()
everywhere.

Suggested-by: Greg KH <gregkh@linuxfoundation.org>
Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: David Lechner <david@lechnology.com>
Link: https://lore.kernel.org/r/20211017190106.3472645-1-david@lechnology.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-19 09:40:49 +02:00
..
104-quad-8.c counter: 104-quad-8: Add IRQ support for the ACCES 104-QUAD-8 2021-10-17 10:55:55 +01:00
counter-chrdev.c counter: Add character device interface 2021-10-17 10:53:52 +01:00
counter-chrdev.h counter: Add character device interface 2021-10-17 10:53:52 +01:00
counter-core.c counter: Add character device interface 2021-10-17 10:53:52 +01:00
counter-sysfs.c counter/counter-sysfs: use sysfs_emit everywhere 2021-10-19 09:40:49 +02:00
counter-sysfs.h counter: Internalize sysfs interface code 2021-10-17 10:52:58 +01:00
ftm-quaddec.c counter: Internalize sysfs interface code 2021-10-17 10:52:58 +01:00
intel-qep.c counter: Internalize sysfs interface code 2021-10-17 10:52:58 +01:00
interrupt-cnt.c counter: Internalize sysfs interface code 2021-10-17 10:52:58 +01:00
Kconfig counter: 104-quad-8: Add IRQ support for the ACCES 104-QUAD-8 2021-10-17 10:55:55 +01:00
Makefile counter: Add character device interface 2021-10-17 10:53:52 +01:00
microchip-tcb-capture.c counter: microchip-tcb-capture: Tidy up a false kernel-doc /** marking. 2021-10-17 10:56:31 +01:00
stm32-lptimer-cnt.c counter: Internalize sysfs interface code 2021-10-17 10:52:58 +01:00
stm32-timer-cnt.c counter: Internalize sysfs interface code 2021-10-17 10:52:58 +01:00
ti-eqep.c counter: Internalize sysfs interface code 2021-10-17 10:52:58 +01:00