Blackfin arch: Convert Blackfin GPIO driver to use common gpiolib/gpiochip infrastructure

- This patch adds support for ARCH_WANT_OPTIONAL_GPIOLIB.
 - It may be changed in future to ARCH_REQUIRE_GPIOLIB.
 - Change GPIO_BANK_NUM use DIV_ROUND_UP( , ) macro

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
Michael Hennerich 2008-11-18 17:48:22 +08:00 • committed by Bryan Wu
commit a4f0b32c33
3 changed files with 140 additions and 30 deletions