ar71xx: simplify patch 613 and add missing error handling
authorJohn Crispin <john@openwrt.org>
Tue, 26 Apr 2016 11:43:42 +0000 (11:43 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 26 Apr 2016 11:43:42 +0000 (11:43 +0000)
commit4b0783f7fad2394f8e3f87a424284cf5bbbca51e
tree299a90f9cc7431ae44a9d15814c3eeec713017ec
parent6cd6a5f4ef4d7024d9611dd6ee4570086fc7da4e
ar71xx: simplify patch 613 and add missing error handling

Dynamic allocation of label can be simplified.
Also add error handling to deal with failed memory allocation.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 49244
target/linux/ar71xx/patches-4.1/613-MIPS-ath79-add-ath79_wmac_setup_ext_lna_gpio-helper.patch
target/linux/ar71xx/patches-4.4/613-MIPS-ath79-add-ath79_wmac_setup_ext_lna_gpio-helper.patch