spi: mpc512x-psc: Remove redundant code to get bus_num from DT
authorAxel Lin <axel.lin@ingics.com>
Sun, 16 Feb 2014 02:43:18 +0000 (10:43 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 18 Feb 2014 01:14:57 +0000 (10:14 +0900)
commit3d8c869796b61f2dd7c1b84112902e199936c053
tree140333f3ed617397571af8dd28d26120f970b92d
parent38dbfb59d1175ef458d006556061adeaa8751b72
spi: mpc512x-psc: Remove redundant code to get bus_num from DT

For DT case, spi core will call of_alias_get_id() and set master->bus_num if it
was not set.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-mpc512x-psc.c