diff options
author | 2014-02-11 22:10:19 +0800 | |
---|---|---|
committer | 2014-02-16 09:51:02 +0800 | |
commit | 78e39523b8c9721250b54b7fd930aeced56cf511 (patch) | |
tree | 86e8493a6c8518b14f31153263c8902d82d94c5a /drivers/spi/spi-tegra20-slink.c | |
parent | Linus 3.14-rc1 (diff) | |
download | linux-78e39523b8c9721250b54b7fd930aeced56cf511.tar.gz linux-78e39523b8c9721250b54b7fd930aeced56cf511.tar.bz2 linux-78e39523b8c9721250b54b7fd930aeced56cf511.zip |
spi: Remove explictly set bus_num and num_chipselect to default setting
The purpose of commit 1e8a52e18cfb
"spi: By default setup spi_masters with 1 chipselect and dynamics bus number"
is to avoid setting default value for bus_num and num_chipselect in spi master
drivers. So let's remove the duplicate code.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-By: David Daney <david.daney@cavium.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-tegra20-slink.c')
-rw-r--r-- | drivers/spi/spi-tegra20-slink.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-tegra20-slink.c b/drivers/spi/spi-tegra20-slink.c index be3a069879c3..b06ea31c1699 100644 --- a/drivers/spi/spi-tegra20-slink.c +++ b/drivers/spi/spi-tegra20-slink.c @@ -1053,7 +1053,6 @@ static int tegra_slink_probe(struct platform_device *pdev) master->unprepare_message = tegra_slink_unprepare_message; master->auto_runtime_pm = true; master->num_chipselect = MAX_CHIP_SELECT; - master->bus_num = -1; platform_set_drvdata(pdev, master); tspi = spi_master_get_devdata(master); |