This patch creates the WM9712 codec register cache using kmemdup instead of doing a kzalloc followed by a memcpy. Signed-off-by: Graeme Gregory <gg at opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lg at opensource.wolfsonmicro.com>