+16
−31
+16
−7
Loading
Replace the legacy of_get_named_gpio() / gpio_request_one() / gpio_set_value() API with the descriptor-based devm_gpiod_get_optional() / gpiod_set_value() API from <linux/gpio/consumer.h>, removing the dependency on <linux/of_gpio.h>. The "reset-n-io" property rename quirk already exists in gpiolib-of.c (added in commit 9c2cc717), so no additional quirk is needed. Signed-off-by:Jialu Xu <xujialu@vimux.org> Reviewed-by:
Linus Walleij <linusw@kernel.org> Link: https://patch.msgid.link/DD684946FD7EE161+20260307030623.3495092-4-xujialu@vimux.org Signed-off-by:
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>