mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
lib: make _tolower() public
This function is required by *printf and kstrto* functions that are located in the different modules. This patch makes _tolower() public. However, it's good idea to not use the helper outside of mentioned functions. [[email protected]: coding-style fixes] Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
72d39508e4
commit
75fb8f2693
3 changed files with 19 additions and 18 deletions
|
|
@ -19,11 +19,6 @@
|
|||
#include <linux/types.h>
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
static inline char _tolower(const char c)
|
||||
{
|
||||
return c | 0x20;
|
||||
}
|
||||
|
||||
static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res)
|
||||
{
|
||||
unsigned long long acc;
|
||||
|
|
|
|||
Loading…
Reference in a new issue