]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66f845fd3bd3b00d4ca51e5aec4d2b26b36e610a
treea33568929741dbf0a8ff1acbcffbde83acdf5a44
parent959017bc69762eaf29425feed86a8be5bb905825
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 fa70d3cd0ce8
("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