kernel-fxtec-pro1x/drivers/i2c
Linus Walleij e33aeb9a7c i2c: pca-platform: Fix GPIO lookup code
[ Upstream commit a0cac264a86fbf4d6cb201fbbb73c1d335e3248a ]

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: 0e8ce93bdc ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-07-10 09:53:39 +02:00
..
algos
busses i2c: pca-platform: Fix GPIO lookup code 2019-07-10 09:53:39 +02:00
muxes
i2c-boardinfo.c
i2c-core-acpi.c
i2c-core-base.c i2c: Prevent runtime suspend of adapter when Host Notify is required 2019-05-08 07:21:43 +02:00
i2c-core-of.c i2c: of: Try to find an I2C adapter matching the parent 2019-04-05 22:33:11 +02:00
i2c-core-slave.c
i2c-core-smbus.c
i2c-core.h
i2c-dev.c i2c: dev: fix potential memory leak in i2cdev_ioctl_rdwr 2019-06-22 08:15:17 +02:00
i2c-mux.c
i2c-slave-eeprom.c
i2c-smbus.c
i2c-stub.c
Kconfig
Makefile