staging: i2o: Use kstrdup rather than duplicating its implementation
authorAbdul Hussain S <hussain.abdul@outlook.com>
Wed, 18 Mar 2015 09:16:00 +0000 (14:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Mar 2015 12:44:39 +0000 (13:44 +0100)
commitd38f486142b6edf3dfd3407d8f0e8a55309a9e41
tree8111065779834bb9eb1030136584141fc1304734
parent7a48a091962ec4f96c12038d11a15998ec28017b
staging: i2o: Use kstrdup rather than duplicating its implementation

The semantic patch that makes this change is available
in scripts/coccinelle/api/kstrdup.cocci

Signed-off-by: Abdul Hussain S <hussain.abdul@outlook.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/i2o/memory.c