staging: greybus: audio_manager_sysfs: Replace sscanf with kstrto* to single variable...
authorElise Lennion <elise.lennion@gmail.com>
Fri, 14 Oct 2016 22:00:11 +0000 (19:00 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2016 13:35:03 +0000 (15:35 +0200)
commitf9a21a3f4919539e6ee02625c22f67c3ef6041ec
treed97a8d8d8e879a4357ba74faa4631146e8ebc849
parent5bc45c9d1ebaa1734c36f2abf1db85b579888224
staging: greybus: audio_manager_sysfs: Replace sscanf with kstrto* to single variable conversion.

Fix checkpatch warning:

WARNING: Prefer kstrto<type> to single variable sscanf

kstrto* is designed to convert string to numerical value and makes
it easier to understand what the code does.

Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
Reviewed-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/audio_manager_sysfs.c