diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-10-14 16:47:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-20 19:38:58 +0200 |
commit | 0a2d47aa32f0e972a136ddea15bddfdd9957e292 (patch) | |
tree | 471977541363f521ea54414b024fb49a15023753 /drivers/gpio | |
parent | a164ff53cbd34479aeac3366840669b10845ce53 (diff) | |
download | linux-0a2d47aa32f0e972a136ddea15bddfdd9957e292.tar.bz2 |
i2c: acpi: Replace custom function with device_match_acpi_handle()
Since driver core provides a generic device_match_acpi_handle()
we may replace the custom one with it. This unifies code to find
an adapter with the similar one which finds a client.
Acked-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20211014134756.39092-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions