diff options
author | David Lechner <david@lechnology.com> | 2021-10-17 14:01:06 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-19 09:40:49 +0200 |
commit | c3ed761c9e1e4987406671b326dab48a048614ee (patch) | |
tree | 7f531c051063e13676e9b703e1be626894d39524 /drivers/iio/imu/adis_trigger.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 <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>
Diffstat (limited to 'drivers/iio/imu/adis_trigger.c')
0 files changed, 0 insertions, 0 deletions