Skip to content

Commit c6bae35

Browse files
krzkJiri Kosina
authored andcommitted
HID: hid-goodix: drop unsupported and undocumented DT part
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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent a65b3c3 commit c6bae35

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

drivers/hid/hid-goodix-spi.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -786,14 +786,6 @@ static const struct acpi_device_id goodix_spi_acpi_match[] = {
786786
MODULE_DEVICE_TABLE(acpi, goodix_spi_acpi_match);
787787
#endif
788788

789-
#ifdef CONFIG_OF
790-
static const struct of_device_id goodix_spi_of_match[] = {
791-
{ .compatible = "goodix,gt7986u", },
792-
{ }
793-
};
794-
MODULE_DEVICE_TABLE(of, goodix_spi_of_match);
795-
#endif
796-
797789
static const struct spi_device_id goodix_spi_ids[] = {
798790
{ "gt7986u" },
799791
{ },
@@ -804,7 +796,6 @@ static struct spi_driver goodix_spi_driver = {
804796
.driver = {
805797
.name = "goodix-spi-hid",
806798
.acpi_match_table = ACPI_PTR(goodix_spi_acpi_match),
807-
.of_match_table = of_match_ptr(goodix_spi_of_match),
808799
.pm = pm_sleep_ptr(&goodix_spi_pm_ops),
809800
},
810801
.probe = goodix_spi_probe,

0 commit comments

Comments
 (0)