greybus: es1: move debugfs function to use kstrotoint_from_user()

No need to duplicate built-in functions that the kernel has, so have the
core kernel parse the userspace string.  Saves us an allocation and
makes the logic simpler.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
1 file changed
tree: c0c257539c9bbcf859f05089ccf5e43a846e2b9f
  1. drivers/