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().
This commit is contained in:
Mark Brown 2025-04-09 17:51:31 +01:00
commit 36ddc9ec8f
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
3 changed files with 24 additions and 1 deletions