ACPI: use kstrdup()
authorThomas Meyer <thomas@m3y3r.de>
Sat, 6 Aug 2011 09:32:56 +0000 (11:32 +0200)
committerLen Brown <len.brown@intel.com>
Mon, 7 Nov 2011 00:13:44 +0000 (19:13 -0500)
commit581de59e8dff8eaa52809e768a585e9ef336aa4a
treea89fecb0d2edb1ea9256fbe16676def28b0dff93
parentc3b92c8787367a8bb53d57d9789b558f1295cc96
ACPI: use kstrdup()

 Use kstrdup rather than duplicating its implementation

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

 More information about semantic patching is available at
 http://coccinelle.lip6.fr/

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/scan.c