summaryrefslogtreecommitdiffstats
path: root/lib/strtox.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: strtox: Use plumbing from kstrtox.cAndrey Smirnov2019-01-211-54/+48
| | | | | | | | | Sync up implemenations of simple_str*() functions with their kernel counterparts in order to convert the code to use plumbing from kstrtox.c Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/parameter-types'Sascha Hauer2017-05-051-0/+9
|\
| * lib: implement simple_strtollSascha Hauer2017-04-111-0/+9
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | lib/strtox: remove unnecessary islower()Sascha Hauer2017-04-111-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | toupper() does the right thing, no need to test for islower() beforehand, so islower(*cp) ? toupper(*cp) : *cp can be simplified to: toupper(*cp) Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | lib/strtox: whitespace cleanupSascha Hauer2017-04-111-22/+31
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* treewide: fix 'new blank line at EOF' formatting errorAntony Pavlov2015-07-021-1/+0
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* printf: move simple_strto*() functions to separate fileSascha Hauer2015-01-051-0/+68
These are not needed in the PBL, so move them to a separate file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>