spi: Make spi_alloc_device and spi_add_device public again
authorStefan Binding <sbinding@opensource.cirrus.com>
Fri, 21 Jan 2022 17:24:23 +0000 (17:24 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 1 Feb 2022 16:09:01 +0000 (16:09 +0000)
commit941bffd7d7f5d6030a54184c5d81b0eb9116ca9a
treea33568929741dbf0a8ff1acbcffbde83acdf5a44
parent6938e02f8658734209fc1f68dc3a6cd355f4f737
spi: Make spi_alloc_device and spi_add_device public again

This functions were previously made private since they
were not used. However, these functions will be needed
again.

Partial revert of commit da21fde0fdb3
("spi: Make several public functions private to spi.c")

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-2-sbinding@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c
include/linux/spi/spi.h