]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: 104-idi-48: Utilize the ISA bus driver
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Sun, 1 May 2016 22:44:55 +0000 (18:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 May 2016 16:32:04 +0000 (09:32 -0700)
commit4af08af995ce85e866ff40c9cb55e6e93da71e0d
tree2420e1d2e633c5606d4cd164c98db80cec8485d9
parent7f06981a3da98bb97ea9f099b44cebccd97da08b
gpio: 104-idi-48: Utilize the ISA bus driver

The ACCES 104-IDI-48 series communicates via the ISA bus. As such, it
is more appropriate to use the ISA bus driver over the platform driver
to control the ACCES 104-IDI-48 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-104-idi-48.c