]> git.baikalelectronics.ru Git - kernel.git/commit
device property: Use multi-connection matchers for single case
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 22 Apr 2022 22:23:46 +0000 (15:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2022 11:47:12 +0000 (13:47 +0200)
commitd3a2d0949594fd096b75ffe71ac48ecce9b8ee23
treeb26330660afe44aa12e5352718f1cff327ec93f6
parent33c375aea06b8856d5b7fcf5af96e8111b0b49b0
device property: Use multi-connection matchers for single case

The newly introduced helpers for searching for matches in the case of
multiple connections can be resused by the single-connection case, so do
this to save some duplication.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220422222351.1297276-3-bjorn.andersson@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/property.c