atheros: simplify gpiolib realization
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 17 Jul 2014 16:36:39 +0000 (16:36 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 17 Jul 2014 16:36:39 +0000 (16:36 +0000)
commit981a0cee0724cd2bd1bc4293414aeb3f5b2b0071
treebfc75f80c556d67656119f948fa8300f6615308e
parente075afb329d6a331d66e3fdac4911e57fdafc904
atheros: simplify gpiolib realization

Each SoCs generation has own independent gpiolib realization, so we
have no reason to keep these realizations in semiuniversal form.
Following modifications are made:
 * Remove valid_mask field
 * Remove ar231x_gpio_chip structure
 * Rename AR2315_GPIO_CR to AR2315_GPIO_DIR
 * Fix count of AR5312 GPIOs
 * Simplify gpio_chip methods realization

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41696 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/atheros/patches-3.10/100-board.patch