Move utf16 functions to kernel core and rename
authorMatthew Garrett <matthew.garrett@nebula.com>
Mon, 15 Apr 2013 20:09:45 +0000 (13:09 -0700)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 15 Apr 2013 20:23:03 +0000 (21:23 +0100)
commit0635eb8a54cf0fea64b174bb68bc36b9c3d622db
tree9430096d286e5da9044ab7e6cb85bdaca07c9717
parent7791c8423f1f7f4dad94e753bae67461d5b80be8
Move utf16 functions to kernel core and rename

We want to be able to use the utf16 functions that are currently present
in the EFI variables code in platform-specific code as well. Move them to
the kernel core, and in the process rename them to accurately describe what
they do - they don't handle UTF16, only UCS2.

Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/firmware/Kconfig
drivers/firmware/efivars.c
include/linux/ucs2_string.h [new file with mode: 0644]
lib/Kconfig
lib/Makefile
lib/ucs2_string.c [new file with mode: 0644]