Staging: speakup: Use kmemdup rather than duplicating its implementation
authorThomas Meyer <thomas@m3y3r.de>
Sat, 12 Nov 2011 12:11:18 +0000 (13:11 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 02:12:56 +0000 (18:12 -0800)
commit1aa5eb67d70fa1f801b8b988d7e48e264c283c5e
tree26fdd13930ddb3efc5516b5410ce1cb34bc75f4d
parentcd420765eb48f052c627a934017f8e95fb011aef
Staging: speakup: Use kmemdup rather than duplicating its implementation

Use kmemdup rather than duplicating its implementation

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

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/speakup/kobjects.c