spi: dln2: Pass of_node to spi master
authorCrestez Dan Leonard <leonard.crestez@intel.com>
Fri, 15 Apr 2016 12:10:52 +0000 (15:10 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 15 Apr 2016 17:02:58 +0000 (18:02 +0100)
commit83835fb07836eac1b35e98b919bf757ff7f77aad
tree878be922588ffac1e4de3ba44bbf63d787b01caf
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
spi: dln2: Pass of_node to spi master

This allows defining SPI devices connected to a DLN2 using devicetree.

This already works for i2c because of a similar patch:
3b10db23: i2c: dln2: set the device tree node of the adapter

Signed-off-by: Crestez Dan Leonard <leonard.crestez@intel.com>
Acked-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dln2.c