diff options
author | Andy Shevchenko <[email protected]> | 2020-06-26 14:19:13 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2020-07-18 07:18:35 +0200 |
commit | 4f307131f376e92fc038677a655a495dcb1d8ada (patch) | |
tree | dccf563fbf0454f086df7b71c59e2084b667442a /lib/mpi/mpi-sub-ui.c | |
parent | 5f55dd54994a596ce3bdb9e2a73164907ca46c03 (diff) |
media: atomisp: Use proper APIs to find I²C client device by ACPI HID
There are specific ACPI and I\xB2C APIs to match device by different
parameters, such as ACPI HID, and retrieve an I\xB2C client.
Use them instead of home grown approach.
Note, it fixes a resource leak as well.
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions