HID: hid-goodix-spi: Add OF supports
authorCharles Wang <charles.goodix@gmail.com>
Mon, 11 Nov 2024 07:50:00 +0000 (15:50 +0800)
committerJiri Kosina <jkosina@suse.com>
Wed, 13 Nov 2024 09:56:37 +0000 (10:56 +0100)
commitc8eb2faef11866be7802ff2ce9852890bcfcde16
tree8b45f0a03c8e5e7d275c91ecd1414b4c67972a2a
parent20bcb2734bafa2adfbf8fc62542c742df9c46cfd
HID: hid-goodix-spi: Add OF supports

This patch introduces the following changes:
- Adds OF match table.
- Hardcodes hid-report-addr in the driver rather than fetching it
  from the device property.

Signed-off-by: Charles Wang <charles.goodix@gmail.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-goodix-spi.c