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)
commit2f1ff48ea3dd36424aee989f53104d98a553954b
tree2d43d512c5c8c241b64dbb62068830887f0a609d
parent8a98d187d5660c9fc397e9966435a5835eb0d54c
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