]> git.baikalelectronics.ru Git - kernel.git/commit
iio: stx104: Add support for GPIO names
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Mon, 30 Jan 2017 17:16:04 +0000 (12:16 -0500)
committerJonathan Cameron <jic23@kernel.org>
Tue, 31 Jan 2017 18:54:04 +0000 (18:54 +0000)
commit622c2486a68c532ffea3a373c2d39008e6fa7844
treedd17e98fea9ab056911b3d5a2ae3f23d06093827
parenta2bd7aef4c606287f5a27f17ea3db12a5b71c6cd
iio: stx104: 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 Apex Embedded Systems
STX104. 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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/stx104.c