atheros: v3.18: change calls logic
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 Mar 2015 02:59:04 +0000 (02:59 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 Mar 2015 02:59:04 +0000 (02:59 +0000)
commitbadae76fc161cf3b2588bfb79e907c2b12966815
tree5992f8a4bf14650321b6fb6f9888e7177a92de9d
parentabe59ae56c0a273966503d35a2dcc6ab864a6ab4
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44713 3c298f89-4303-0410-b956-a3cf2f4a3e73
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