diff options
author | 2011-11-17 16:42:24 -0500 | |
---|---|---|
committer | 2011-11-18 10:51:01 -0800 | |
commit | 86dc243cb2ddecb6984401463ebb0963ceff3cdc (patch) | |
tree | b4d9e980c1c2333138b9d3a7b2285d19cf7c833d /drivers/usb/core/devio.c | |
parent | NLS: improve UTF8 -> UTF16 string conversion routine (diff) | |
download | linux-dev-86dc243cb2ddecb6984401463ebb0963ceff3cdc.tar.xz linux-dev-86dc243cb2ddecb6984401463ebb0963ceff3cdc.zip |
USB: remove homegrown UTF conversion routine for gadgets
This patch (as1502) removes the UTF8-to-UTF16 conversion routine in
the USB gadget library and replaces it with a call to the equivalent
function in the NLS library.
The only downside worth noting is that the NLS library routine
requires the output buffer to be 16-bit aligned. This is always true
in the gadget code, because the output buffer is always a
usb_request buffer being used to send a string descriptor.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/devio.c')
0 files changed, 0 insertions, 0 deletions