]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: 104-idio-16: Add support for GPIO names
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Mon, 30 Jan 2017 18:33:21 +0000 (13:33 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 1 Feb 2017 15:04:44 +0000 (16:04 +0100)
commite0af4b5e248bcfbdb056691c9b12ee697b07c213
treee77db22953b1d5294b875073f0c6bca93897e5ce
parenta71dc2537a1ad792d6c3dc6129c60ec28447f215
gpio: 104-idio-16: Add support for GPIO names

This patch sets the gpio_chip names option with an array of GPIO line
names that match the manual documentation for the ACCES 104-IDIO-16.
This should make it easier for users to identify which GPIO line
corresponds to a respective GPIO pin on the device.

Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-104-idio-16.c