atheros: simplify gpiolib realization
authorFelix Fietkau <nbd@openwrt.org>
Thu, 17 Jul 2014 16:36:39 +0000 (16:36 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 17 Jul 2014 16:36:39 +0000 (16:36 +0000)
commita740ee4ca3ed72ff7846b75ddea314380c99a5a2
treebfc75f80c556d67656119f948fa8300f6615308e
parent7a339518000d64b1339f6d04da986572f4fd0632
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