serdev: Replace custom code with device_match_acpi_handle()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 24 Oct 2023 12:41:15 +0000 (15:41 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Oct 2023 11:04:11 +0000 (13:04 +0200)
commit64ebf8797249e792af2143eb9e4bd404d10a022e
tree3b59e28ffe359a53963096385e24a9baf7a8a82a
parentddab72ea7e5be7d1ae0433fa3d399e05837008d1
serdev: 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://lore.kernel.org/r/20231024124115.3598090-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serdev/core.c