clk/mmp: use kmemdup rather than duplicating its implementation
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 7 Aug 2015 07:59:16 +0000 (09:59 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 7 Aug 2015 22:16:28 +0000 (15:16 -0700)
commite8f35aabae837e6d1a1d82a8cc54f8ce7366ed49
tree5413e587b4662070431f8b9860369cb83d6720ff
parent1fb6dd9da6ed4f2953b62162f3c498a1f6d7bfca
clk/mmp: 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: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/mmp/clk-mix.c