spi: Replace custom code with device_match_acpi_handle()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 10 May 2024 20:49:52 +0000 (23:49 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 27 May 2024 00:33:40 +0000 (01:33 +0100)
commit2d19ea9e8840a1a77b1d464b06e62dd9b0f21e0d
tree23f5774f3e6192f080f4209f091dcfd3e0938698
parentef901b38d3a4610c4067cd306c1a209f32e7ca31
spi: 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>
Link: https://msgid.link/r/20240510204952.2582093-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c