]> git.baikalelectronics.ru Git - kernel.git/commit
spi: Create helper API to lookup ACPI info for spi device
authorStefan Binding <sbinding@opensource.cirrus.com>
Fri, 21 Jan 2022 17:24:24 +0000 (17:24 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 1 Feb 2022 17:38:46 +0000 (17:38 +0000)
commitff04fee5f86a6cfdf1d4b2d1a8aea76aec92db3e
tree6884347260c04f07db2881cd1fb524043171f46f
parentf2f815e4699f32da88094f956b3fdae0cc52869b
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>
drivers/spi/spi.c
include/linux/spi/spi.h