Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio: sloppy-logic-analyzer: Fully open-code compatible for grepping

It is very useful to find driver implementing compatibles with `git grep
compatible`, so driver should not use defines for that string, even if
this means string will be effectively duplicated.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20250613071627.46687-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Bartosz Golaszewski
bddfad9f 7b2c2f1e

+1 -1
+1 -1
drivers/gpio/gpio-sloppy-logic-analyzer.c
··· 306 306 } 307 307 308 308 static const struct of_device_id gpio_la_poll_of_match[] = { 309 - { .compatible = GPIO_LA_NAME }, 309 + { .compatible = "gpio-sloppy-logic-analyzer" }, 310 310 { } 311 311 }; 312 312 MODULE_DEVICE_TABLE(of, gpio_la_poll_of_match);