]> 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 17:38:45 +0000 (17:38 +0000)
commitf2f815e4699f32da88094f956b3fdae0cc52869b
tree5a31f475d4e7fe7501d778eb5ac8f603c217924a
parent6e424e6bafec35e47db4b693fe41eff065b7dbf6
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