gpio: ws16c48: Utilize the ISA bus driver
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Sun, 1 May 2016 22:45:24 +0000 (18:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 May 2016 16:32:04 +0000 (09:32 -0700)
commitcc736607c86d39ea078519af0de6ee0fbf3096a6
treed6448d60e0c74ee5b751b2d9e69bc69600d9797a
parent86ea8a95a42f752fe0aa1c7ad1bfe8ce9be5d30e
gpio: ws16c48: Utilize the ISA bus driver

The WinSystems WS16C48 communicates via the ISA bus. As such, it is more
appropriate to use the ISA bus driver over the platform driver to
control the WinSystems WS16C48 GPIO driver.

This patch also adds support for multiple devices via the base and irq
module array parameters. Each element of the base array corresponds to a
discrete device; each element of the irq array corresponds to the
respective device addressed in the respective base array element.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/Kconfig
drivers/gpio/gpio-ws16c48.c