diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2018-05-21 22:57:39 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-05-24 10:05:51 +0200 |
commit | 973c1714de308bb9424f0eb5aaab275d1641a720 (patch) | |
tree | c152c1e2a1d5753ab1537246abbc68cda8c9792d /drivers/pinctrl | |
parent | pinctrl: msm: fix gpio-hog related boot issues (diff) | |
download | linux-973c1714de308bb9424f0eb5aaab275d1641a720.tar.xz linux-973c1714de308bb9424f0eb5aaab275d1641a720.zip |
gpiolib: discourage gpiochip_add_pin[group]_range for DT pinctrls
This patch adds the stern warning to the kerneldoc text of both
gpiochip_add_pin[group]_range() functions in hope of detering
developers from ever using them in their DeviceTree-supported
pinctrl drivers in the future.
For anyone affected: Please refer to Section 2.1 of
Documentation/devicetree/bindings/gpio/gpio.txt on how to
bind pinctrl and gpio drivers via the "gpio-ranges" property.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions