staging: csr: remove CsrStrDup
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jul 2012 21:47:11 +0000 (14:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jul 2012 21:47:11 +0000 (14:47 -0700)
commit5a0c09fd736d2518409e0eabe4c3039058e6fdfc
treec1d316e1c28227e967dff345c061bdc0039d10b4
parent6a4f6d38a34a992f8fd1572fc8d5706c11089d5e
staging: csr: remove CsrStrDup

Use kstrdup() for the few places that called it, and remove
CsrUtf8StrDup() as no one calls that function.

Cc: Mikko Virkkilä <mikko.virkkila@bluegiga.com>
Cc: Lauri Hintsala <Lauri.Hintsala@bluegiga.com>
Cc: Riku Mettälä <riku.mettala@bluegiga.com>
Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/csr/csr_serialize_primitive_types.c
drivers/staging/csr/csr_unicode.h
drivers/staging/csr/csr_utf16.c
drivers/staging/csr/csr_util.c
drivers/staging/csr/csr_util.h