ASoC: topology: use kmemdup rather than duplicating its implementation
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 7 Aug 2015 07:59:37 +0000 (09:59 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 7 Aug 2015 12:27:51 +0000 (13:27 +0100)
commit376c0afe2f0047d091956a95e382e1edd104ea72
tree0f9bc883b46ec5d3e44e6fe72d38e7b70422b81e
parent4ca7deb1e15e0030d04051cf4285e88249ebe252
ASoC: topology: use kmemdup rather than duplicating its implementation

The patch was generated using fixed coccinelle semantic patch
scripts/coccinelle/api/memdup.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2014320

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c