From: Bryan Wu Date: Wed, 6 Feb 2008 09:38:17 +0000 (-0800) Subject: spi_bfin: use more useful GPIO labels X-Git-Tag: MMI-PSA29.97-13-9~37136 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aab0d83ee771b19082c3ee24576cf5508d319294;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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) if ((chip->chip_select_num > 0) && (chip->chip_select_num <= spi->master->num_chipselect)) peripheral_request(ssel[spi->master->bus_num] - [chip->chip_select_num-1], DRV_NAME); + [chip->chip_select_num-1], spi->modalias); cs_deactive(drv_data, chip);