summaryrefslogtreecommitdiff
path: root/include/linux/spi
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2021-03-03 18:28:14 +0300
committerMark Brown <broonie@kernel.org>2021-03-16 16:29:44 +0300
commitdf41a5dad586c8ead1bb7082b4b6fcb563e02199 (patch)
tree00128e840e521b3a040cddce0f7a8ba63b32c6a1 /include/linux/spi
parentd4272a7adf26c62c5afe86b6829712de519b4a26 (diff)
downloadlinux-df41a5dad586c8ead1bb7082b4b6fcb563e02199.tar.xz
spi: Remove support for dangling device properties
>From now on only accepting complete software nodes. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20210303152814.35070-5-heikki.krogerus@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/spi.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h
index f47f94ea6fa9..7cb3194d5ba5 100644
--- a/include/linux/spi/spi.h
+++ b/include/linux/spi/spi.h
@@ -19,7 +19,6 @@
#include <uapi/linux/spi/spi.h>
struct dma_chan;
-struct property_entry;
struct software_node;
struct spi_controller;
struct spi_transfer;
@@ -1410,7 +1409,6 @@ static inline ssize_t spi_w8r16be(struct spi_device *spi, u8 cmd)
* @modalias: Initializes spi_device.modalias; identifies the driver.
* @platform_data: Initializes spi_device.platform_data; the particular
* data stored there is driver-specific.
- * @properties: Deprecated - use software node instead.
* @swnode: Software node for the device.
* @controller_data: Initializes spi_device.controller_data; some
* controllers need hints about hardware setup, e.g. for DMA.
@@ -1444,12 +1442,10 @@ struct spi_board_info {
*
* platform_data goes to spi_device.dev.platform_data,
* controller_data goes to spi_device.controller_data,
- * device properties are copied and attached to spi_device,
* irq is copied too
*/
char modalias[SPI_NAME_SIZE];
const void *platform_data;
- const struct property_entry *properties;
const struct software_node *swnode;
void *controller_data;
int irq;