]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: shared: use device_is_compatible() for reset-gpio
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 12 Jan 2026 09:36:51 +0000 (10:36 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Tue, 13 Jan 2026 09:32:17 +0000 (10:32 +0100)
commit568ea51e61f7da72ee290d24d6ee952586a3e168
treee676ae35c7409bef53f6b1bea466c8ec892fe5b3
parent4d944187a1288bb48b21715e95098e81bc0e28f6
gpio: shared: use device_is_compatible() for reset-gpio

reset-gpio devices now can be identified with device_is_compatible() so
use it instead of checking the device name string.

Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://lore.kernel.org/r/20260112093651.23639-1-bartosz.golaszewski@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpiolib-shared.c