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)
commita145d0410bf92cfbef482828d319b247c2156928
tree80f9967d969ab2b5a6fbbace0e2d1a56b258fe7c
parent82e4cde1ce8f3c225f3b44815cb9bc612f55ba09
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