Revision d717e7da45b382c09cee4f1e03ce30124e672e07 authored by Andy Shevchenko on 05 December 2019, 00:50:36 UTC, committed by Linus Torvalds on 05 December 2019, 03:44:12 UTC
Like in commit 8b2303de399f ("serial: core: Fix handling of options
after MMIO address") we may use simple_strtoul() which in comparison to
kstrtoul() can do conversion in-place without additional and unnecessary
code to be written.

Link: http://lkml.kernel.org/r/20190801192904.41087-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Mans Rullgard <mans@mansr.com>
Cc: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 885e68e
History
File Mode Size
.gitignore -rw-r--r-- 23 bytes
Build -rw-r--r-- 60 bytes
Makefile -rw-r--r-- 1.6 KB
spidev_fdx.c -rw-r--r-- 2.7 KB
spidev_test.c -rw-r--r-- 9.9 KB

back to top