spi: cadence_qspi: convert to livetree
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Thu, 9 May 2019 20:11:56 +0000 (22:11 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 10 May 2019 20:48:11 +0000 (22:48 +0200)
commit46b633d7b4ed7a3053093ba901559f61d0ed92c6
tree712d680447ca193447747ee4ee019d85c54dc3b2
parent460a97f3a2d4308b804f833b1a0beb0cf92c925e
spi: cadence_qspi: convert to livetree

Convert 'cadence_spi_ofdata_to_platdata' to use dev_read_* functions to
read driver parameters and 'dev_read_first_subnode'/'ofnode_read_*' to
read flash (child node) parameters.

Tested on socfpga_socrates (socfpga gen5).

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
drivers/spi/cadence_qspi.c