mfd: core: Use acpi_find_child_device() for child devices lookup
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 6 Apr 2021 12:32:20 +0000 (15:32 +0300)
committerLee Jones <lee.jones@linaro.org>
Wed, 14 Apr 2021 15:06:36 +0000 (16:06 +0100)
commit40cb71f321dd753afa65cf9d90fb803f13b82df0
tree0be631a961003b23de79203ed8bbc81c2a2ff05d
parent6dac44c602bef283484ca84591396e65f8d8f1a5
mfd: core: Use acpi_find_child_device() for child devices lookup

Use acpi_find_child_device() for child devices lookup in mfd_acpi_add_device()
instead of open coded approach. No functional change intended.

While at it, amend a note comment, since usage of _ADR is found on other
platforms and tables than Intel Galileo Gen 2, in particular USB wired devices
are using it, according to Microsoft specifications for embedded platforms.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mfd-core.c