lib: kstrtox: Make _parse_integer() take variadic arguments

Instead of having different functions that just use default parameters,
combine those to use variadic arguments, so the user may call it using
the same name.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Rodrigo Alencar <rodrigo.alencar@analog.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Andy Shevchenko 2026-06-04 10:58:56 +01:00 • committed by Jonathan Cameron
commit ce0d638054
2 changed files with 8 additions and 7 deletions