atheros: v3.18: change calls logic
authorFelix Fietkau <nbd@openwrt.org>
Fri, 13 Mar 2015 02:59:04 +0000 (02:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 13 Mar 2015 02:59:04 +0000 (02:59 +0000)
commitc7b8bd25a1678750fbe16265f8947e3376b37ea5
tree5992f8a4bf14650321b6fb6f9888e7177a92de9d
parent11e4365c9be62e05f675094d6239e2fea475f340
atheros: v3.18: change calls logic

Check SoC family (AR5312+ or AR2315+) before call instead of checking it
inside the called function. Also convert ar{5312,2315}_init_device()
function to void, since they both return zero and nobody care about
return value.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 44713
target/linux/atheros/patches-3.18/100-board.patch
target/linux/atheros/patches-3.18/102-ar5312_gpio.patch
target/linux/atheros/patches-3.18/103-ar2315_gpio.patch
target/linux/atheros/patches-3.18/105-ar2315_pci.patch