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)
commit0e2dbf3cd5227bcfa7bc263f27f0ac7a041d9c45
treebfc75f80c556d67656119f948fa8300f6615308e
parent0810ab52e96554ded9572b8cefdfa6a72328824d
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>
SVN-Revision: 41696
target/linux/atheros/patches-3.10/100-board.patch