]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpio: don't compare raw GPIO descriptor pointers
authorMark Brown <broonie@kernel.org>
Wed, 9 Apr 2025 16:51:31 +0000 (17:51 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 9 Apr 2025 16:51:31 +0000 (17:51 +0100)
commit36ddc9ec8f3ec00eb4c88631807d02f96e05c0e7
tree8c6b9859d4aae29bf88eabf9d6ebb9cedb85adb3
parent4a7c28e659b85c96ebc87ad00d11c47a538dc15e
parentaaf6223ea2a1ff9316a81bf851fd5a0e82635b60
gpio: don't compare raw GPIO descriptor pointers

Merge series from Bartosz Golaszewski <brgl@bgdev.pl>:

Handling of shared GPIOs in the kernel needs some improvements. Let's
start with a simple change of not comparing GPIO descriptor pointers
directly as there's nothing that guarantees that the same physical pin
will always be represented by a single GPIO descriptor obtained by
calling gpiod_get().