drivers/i2c/hid: Use ACPI device name if provided by config
commit3d62781acb3ab7d2496d73b2198bb7e7dcf496c6
authorMatt DeVillier <matt.devillier@puri.sm>
Fri, 20 Nov 2020 00:31:17 +0000 (19 18:31 -0600)
committerPatrick Georgi <pgeorgi@google.com>
Sun, 22 Nov 2020 22:22:06 +0000 (22 22:22 +0000)
tree4b6b7d42c8bd57c0aa1d9e3d58a56ea6be0a2b56
parent86dce8fa75233c9e6639962e0f402adcd6530e66
drivers/i2c/hid: Use ACPI device name if provided by config

Follow model of drivers/i2c/generic and use user-supplied device
name if specified in the chip config.

Change-Id: Ia783bac2797e239989c03a3421b9293a055db3d0
Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47782
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/drivers/i2c/hid/hid.c