diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-06-26 14:19:13 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-18 07:18:35 +0200 |
commit | 4f307131f376e92fc038677a655a495dcb1d8ada (patch) | |
tree | dccf563fbf0454f086df7b71c59e2084b667442a /scripts/gdb/linux/tasks.py | |
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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions