net: altera_tse: get numbers of fdt address and size cells
authorThomas Chou <thomas@wytron.com.tw>
Fri, 6 Nov 2015 01:37:17 +0000 (09:37 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Fri, 6 Nov 2015 04:56:47 +0000 (12:56 +0800)
commit75199d6f722a0f711628194240ee5bf724e31101
tree734fbcf26e24096b46c0be3d94b159ad443d7f93
parent4c8df1d359d0f40d6be272e46b0b12f83469a3c9
net: altera_tse: get numbers of fdt address and size cells

Get numbers of fdt address and size cells in altera_tse_probe(),
thereby remove the assumption of one address cell and one size
cell.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/altera_tse.c