spi: allow attaching device properties to SPI board info
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 Feb 2017 22:25:18 +0000 (14:25 -0800)
committerMark Brown <broonie@kernel.org>
Mon, 6 Mar 2017 10:38:03 +0000 (11:38 +0100)
commit826cf175ed705f70a49d04aca832c1cc9ff048d8
tree97407688809ba1b00b3c5c77e6cdbb529a0e8fce
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
spi: allow attaching device properties to SPI board info

Generic device properties support statically defined property sets. For
them to be usable, we need to attach these property sets before devices
are registered and probed. Allowing to attach property list to
spi_board_info structure will allow non-ACPI non-DT boards switch to using
generic properties and get rid of custom platform data.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c
include/linux/spi/spi.h