spi: designware: convert to livetree
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Thu, 9 May 2019 20:11:57 +0000 (22:11 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 10 May 2019 20:48:11 +0000 (22:48 +0200)
commit27c3e07bcbddba1bc5f0ac3d58a2d1a1a99de5ea
tree1f61a9fcac8d350d7217dfdff96c6c4e8359f49f
parent46b633d7b4ed7a3053093ba901559f61d0ed92c6
spi: designware: convert to livetree

Convert 'dw_spi_ofdata_to_platdata' to use 'dev_read_u32_default'
instead of 'fdtdec_get_int' and get rid of DECLARE_GLOBAL_DATA_PTR.

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