summaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-05-30 23:24:24 +0300
committerWolfram Sang <wsa@the-dreams.de>2019-06-12 13:54:06 +0300
commita0cac264a86fbf4d6cb201fbbb73c1d335e3248a (patch)
treefca349eca4dca0ed42326e9e7c39cf6acae8c89c /drivers/fpga/xilinx-spi.c
parentca21f851cc9643af049226d57fabc3c883ea648e (diff)
downloadlinux-a0cac264a86fbf4d6cb201fbbb73c1d335e3248a.tar.xz
i2c: pca-platform: Fix GPIO lookup code
The devm_gpiod_request_gpiod() call will add "-gpios" to any passed connection ID before looking it up. I do not think the reset GPIO on this platform is named "reset-gpios-gpios" but rather "reset-gpios" in the device tree, so fix this up so that we get a proper reset GPIO handle. Also drop the inclusion of the legacy GPIO header. Fixes: 0e8ce93bdceb ("i2c: pca-platform: add devicetree awareness") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions