Commit c6bae35f authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Jiri Kosina

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
parent a65b3c3e
...@@ -786,14 +786,6 @@ static const struct acpi_device_id goodix_spi_acpi_match[] = { ...@@ -786,14 +786,6 @@ static const struct acpi_device_id goodix_spi_acpi_match[] = {
MODULE_DEVICE_TABLE(acpi, goodix_spi_acpi_match); MODULE_DEVICE_TABLE(acpi, goodix_spi_acpi_match);
#endif #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[] = { static const struct spi_device_id goodix_spi_ids[] = {
{ "gt7986u" }, { "gt7986u" },
{ }, { },
...@@ -804,7 +796,6 @@ static struct spi_driver goodix_spi_driver = { ...@@ -804,7 +796,6 @@ static struct spi_driver goodix_spi_driver = {
.driver = { .driver = {
.name = "goodix-spi-hid", .name = "goodix-spi-hid",
.acpi_match_table = ACPI_PTR(goodix_spi_acpi_match), .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), .pm = pm_sleep_ptr(&goodix_spi_pm_ops),
}, },
.probe = goodix_spi_probe, .probe = goodix_spi_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment