diff options
author | Bryan Wu <bryan.wu@analog.com> | 2008-02-06 04:38:17 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:11 -0500 |
commit | aab0d83ee771b19082c3ee24576cf5508d319294 (patch) | |
tree | d22a02cba843a6cfbdadd0b055eae486169798e4 /drivers | |
parent | 8d20d0a7c470cda37db6765866df6338f51ead0f (diff) |
spi_bfin: use more useful GPIO labels
Use the SPI driver's name when requesting gpio lines. When there are gpio
conflicts, this helps to narrow down the problems; "bfin-spi" is not
informative.
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/spi_bfin5xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_bfin5xx.c b/drivers/spi/spi_bfin5xx.c index 84c158a3af2d..52beb5c924b7 100644 --- a/drivers/spi/spi_bfin5xx.c +++ b/drivers/spi/spi_bfin5xx.c | |||
@@ -1176,7 +1176,7 @@ static int setup(struct spi_device *spi) | |||
1176 | if ((chip->chip_select_num > 0) | 1176 | if ((chip->chip_select_num > 0) |
1177 | && (chip->chip_select_num <= spi->master->num_chipselect)) | 1177 | && (chip->chip_select_num <= spi->master->num_chipselect)) |
1178 | peripheral_request(ssel[spi->master->bus_num] | 1178 | peripheral_request(ssel[spi->master->bus_num] |
1179 | [chip->chip_select_num-1], DRV_NAME); | 1179 | [chip->chip_select_num-1], spi->modalias); |
1180 | 1180 | ||
1181 | cs_deactive(drv_data, chip); | 1181 | cs_deactive(drv_data, chip); |
1182 | 1182 | ||