Tag: 581de59e8dff8eaa52809e768a585e9ef336aa4a

ACPI: use kstrdup()

Author: Thomas Meyer <thomas@m3y3r.de> 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 Signed-off-by: Len Brown — drivers/acpi/scan.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff –git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index …

Continue reading