diff options
author | David Lechner <[email protected]> | 2021-10-17 14:01:06 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-10-19 09:40:49 +0200 |
commit | c3ed761c9e1e4987406671b326dab48a048614ee (patch) | |
tree | 7f531c051063e13676e9b703e1be626894d39524 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 15c9a359094ec6251578b02387436bc64f11a477 (diff) |
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 <[email protected]>
Acked-by: William Breathitt Gray <[email protected]>
Signed-off-by: David Lechner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions