spi: Create helper API to lookup ACPI info for spi device

This can then be used to find a spi resource inside an
ACPI node, and allocate a spi device.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220121172431.6876-3-sbinding@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Stefan Binding 2022-01-21 17:24:24 +00:00 • committed by Mark Brown
commit 70dd264bc0
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 42 additions and 10 deletions