staging: fbtft: Use kmemdup rather than duplicating its implementation
authorMadhusudhanan Ravindran <mravindran04@gmail.com>
Sun, 8 Mar 2015 04:56:30 +0000 (10:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Mar 2015 12:54:45 +0000 (13:54 +0100)
commitaa5735f139f84a3d1e4ef4d0ba177a25372506fb
treed0de370c829fc90170b0cf996d21766e2f463d57
parentd9954896a286393522a851731c46caba1f7bca19
staging: fbtft: Use kmemdup rather than duplicating its implementation

The semantic patch that makes this change is available
in scriptcoccinelle/api/memdup.cocci.

Signed-off-by: Madhusudhanan Ravindran <mravindran04@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-sysfs.c