HID: hid-goodix: drop unsupported and undocumented DT part
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 25 Sep 2024 19:49:20 +0000 (21:49 +0200)
committerJiri Kosina <jkosina@suse.com>
Wed, 25 Sep 2024 20:49:49 +0000 (22:49 +0200)
Drop support for Devicetree from, because the binding is being reverted
(on basis of duplicating existing binding) and property was not added to
the original binding.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-goodix-spi.c

index de655f745d3f02d58d6e66c334292a817f6353f1..0e59663814dde20068bf76beb3db2e25a1f17bc7 100644 (file)
@@ -786,14 +786,6 @@ static const struct acpi_device_id goodix_spi_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, goodix_spi_acpi_match);
 #endif
 
-#ifdef CONFIG_OF
-static const struct of_device_id goodix_spi_of_match[] = {
-       { .compatible = "goodix,gt7986u", },
-       { }
-};
-MODULE_DEVICE_TABLE(of, goodix_spi_of_match);
-#endif
-
 static const struct spi_device_id goodix_spi_ids[] = {
        { "gt7986u" },
        { },
@@ -804,7 +796,6 @@ static struct spi_driver goodix_spi_driver = {
        .driver = {
                .name = "goodix-spi-hid",
                .acpi_match_table = ACPI_PTR(goodix_spi_acpi_match),
-               .of_match_table = of_match_ptr(goodix_spi_of_match),
                .pm = pm_sleep_ptr(&goodix_spi_pm_ops),
        },
        .probe =        goodix_spi_probe,