]> Git Repo - linux.git/commit
auxdisplay: charlcd: deduplicate simple_strtoul()
authorAndy Shevchenko <[email protected]>
Thu, 5 Dec 2019 00:50:36 +0000 (16:50 -0800)
committerLinus Torvalds <[email protected]>
Thu, 5 Dec 2019 03:44:12 +0000 (19:44 -0800)
commitd717e7da45b382c09cee4f1e03ce30124e672e07
tree08b6c3d47ed692e1f7bd06ce7b5dede50f50ea1b
parent885e68e8b7b1328aa1e28b27e13fbfb5f020d269
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/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Mans Rullgard <[email protected]>
Cc: Miguel Ojeda <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/auxdisplay/charlcd.c
This page took 0.049938 seconds and 4 git commands to generate.