Tag: dccb3b0eb6924b54a8f30672979fdc28e164d997

arm: mach-omap2: mux: 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: Tony Lindgren — arch/arm/mach-omap2/mux.c | 14 ++++———- 1 file changed, 4 insertions(+), 10 deletions(-)   diff –git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index …

Continue reading