]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpio/gpio-ws16c48.c
gpio: ws16c48: Add support for GPIO names
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Mon, 30 Jan 2017 18:33:47 +0000 (13:33 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 1 Feb 2017 15:06:17 +0000 (16:06 +0100)
commit5238f60feb408efbb5ad212d9b5b98a44d97af3a
treeafe4b1f7410ddd20d05257b6cf9e02ff7455d903
parent210b4bde5fc9974e60a912f9a17c014c7cbf5b75
gpio: ws16c48: 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 WinSystems WS16C48.
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-ws16c48.c