diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-12-05 01:50:36 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-12-05 04:44:12 +0100 |
commit | d717e7da45b382c09cee4f1e03ce30124e672e07 (patch) | |
tree | 08b6c3d47ed692e1f7bd06ce7b5dede50f50ea1b /block/blk-mq-debugfs-zoned.c | |
parent | kernel.h: update comment about simple_strto<foo>() functions (diff) | |
download | linux-d717e7da45b382c09cee4f1e03ce30124e672e07.tar.xz linux-d717e7da45b382c09cee4f1e03ce30124e672e07.zip |
auxdisplay: charlcd: deduplicate simple_strtoul()
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>
Diffstat (limited to 'block/blk-mq-debugfs-zoned.c')
0 files changed, 0 insertions, 0 deletions