aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2025-06-13 09:16:54 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2025-06-17 14:12:32 -0700
commit155c1e5a92bebff36cc033c9eb9bb3f76712af44 (patch)
treeb7ba01b8053bc6012437d852d8881abab64a4697 /drivers/input/misc
parentdt-bindings: HID: i2c-hid: elan: Introduce Elan eKTH8D18 (diff)
downloadlinux-155c1e5a92bebff36cc033c9eb9bb3f76712af44.tar.gz
linux-155c1e5a92bebff36cc033c9eb9bb3f76712af44.zip
Input: 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> Link: https://lore.kernel.org/r/20250613071653.46809-2-krzysztof.kozlowski@linaro.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc')
-rw-r--r--drivers/input/misc/gpio-beeper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/gpio-beeper.c b/drivers/input/misc/gpio-beeper.c
index d2d2954e2f79..3d65cb4f4ef3 100644
--- a/drivers/input/misc/gpio-beeper.c
+++ b/drivers/input/misc/gpio-beeper.c
@@ -94,7 +94,7 @@ static int gpio_beeper_probe(struct platform_device *pdev)
#ifdef CONFIG_OF
static const struct of_device_id gpio_beeper_of_match[] = {
- { .compatible = BEEPER_MODNAME, },
+ { .compatible = "gpio-beeper", },
{ }
};
MODULE_DEVICE_TABLE(of, gpio_beeper_of_match);