]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01bd98549a7b78645108e53555da21907efd419b
tree140333f3ed617397571af8dd28d26120f970b92d
parented4c0e42e851d5178cd0d1dc05de408325576e1c
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