]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: pca-platform: unconditionally use devm_gpiod_get_optional
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Wed, 5 Jul 2017 10:13:56 +0000 (22:13 +1200)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 24 Mar 2018 12:26:00 +0000 (13:26 +0100)
commitca5143171c05fbbe920c21b9185ca1bf473b05f1
treefa95da73950f8814502e51274301cd3d78ce58bc
parentad576f2116449c08b2b7c40e058107a4ecf4016f
i2c: pca-platform: unconditionally use devm_gpiod_get_optional

Allow for the reset-gpios property to be defined in the device tree
or via a GPIO lookup table.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-pca-platform.c