efi: move utf16 string functions to efi.h
authorMatt Fleming <matt.fleming@intel.com>
Sun, 3 Feb 2013 19:53:46 +0000 (19:53 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Wed, 17 Apr 2013 07:28:21 +0000 (08:28 +0100)
commitd5abc7c1050ab2b9556a4bf21626cd74e83cd086
treec38123d5676d331d9562a7f2620b470743b80f09
parent07961ac7c0ee8b546658717034fe692fd12eefa9
efi: move utf16 string functions to efi.h

There are currently two implementations of the utf16 string functions.
Somewhat confusingly, they've got different names.

Centralise the functions in efi.h.

Reviewed-by: Tom Gundersen <teg@jklm.no>
Tested-by: Tom Gundersen <teg@jklm.no>
Reviewed-by: Mike Waychison <mikew@google.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/firmware/efivars.c
drivers/firmware/google/gsmi.c
include/linux/efi.h