Tag: 97bf7a190082457f84467b28baed14c8147476f2

MIPS: ath79: Use kmemdup rather than duplicating its implementation

Author: Thomas Meyer <thomas@m3y3r.de> The semantic patch that makes this change is available in scripts/coccinelle/api/memdup.cocci. Signed-off-by: Thomas Meyer Signed-off-by: Gabor Juhos Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3483/ Signed-off-by: Ralf Baechle — arch/mips/ath79/dev-gpio-buttons.c | 4 +— arch/mips/ath79/dev-leds-gpio.c | 4 +— 2 files changed, 2 insertions(+), 6 deletions(-)   diff –git a/arch/mips/ath79/dev-gpio-buttons.c b/arch/mips/ath79/dev-gpio-buttons.c index 4b0168a..366b35f 100644 — a/arch/mips/ath79/dev-gpio-buttons.c +++ …

Continue reading