Skip to content

Commit

Permalink
HID: hid-goodix: drop unsupported and undocumented DT part
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Kozlowski authored and Jiri Kosina committed Sep 25, 2024
1 parent a65b3c3 commit c6bae35
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/hid/hid-goodix-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
{ },
Expand All @@ -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,
Expand Down

0 comments on commit c6bae35

Please sign in to comment.