summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorJialu Xu <xujialu@vimux.org>2026-03-07 06:06:24 +0300
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-03-09 12:25:34 +0300
commit253350dbf3e7fbd136905c98bd9f800fddb4fead (patch)
treefa77e70a5596e6c7272ee52e959c009a50048c8b /tools/testing
parentb544927d75574330b0a8a33c113556b67df56f39 (diff)
downloadlinux-253350dbf3e7fbd136905c98bd9f800fddb4fead.tar.xz
nfc: nfcmrvl: convert to gpio descriptors
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 9c2cc7171e08), 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>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions