serial: altera_uart: convert to livetree
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Thu, 9 May 2019 20:11:58 +0000 (22:11 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 10 May 2019 20:48:11 +0000 (22:48 +0200)
commit41b22c0acc957b927d1496dd43e4db0fe8233e90
tree7d0c930e581e100fffbbf8504ad97b2dc3e85b38
parent27c3e07bcbddba1bc5f0ac3d58a2d1a1a99de5ea
serial: altera_uart: convert to livetree

Convert 'altera_uart_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/serial/altera_uart.c