i2c: acpi: Replace custom code with device_match_acpi_handle()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 23 Jun 2025 13:45:21 +0000 (16:45 +0300)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 27 Jun 2025 10:21:05 +0000 (12:21 +0200)
commit546b632e12292328e0adce0363eb5f05a53166de
tree6e2150ab7654d3e500d5ccc6711d257b2911f2d4
parent86731a2a651e58953fc949573895f2fa6d456841
i2c: acpi: Replace custom code with device_match_acpi_handle()

Since driver core provides a generic device_match_acpi_handle()
we may replace the custom code with it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/i2c/i2c-core-acpi.c