spi: rspi: modify the name of "qspi_trigger_transfer_out_int" function
authorHiep Cao Minh <cm-hiep@jinso.co.jp>
Fri, 22 May 2015 09:59:36 +0000 (18:59 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 2 Jun 2015 13:58:52 +0000 (14:58 +0100)
The name of "qspi_trigger_transfer_out_int" function should be
"qspi_trigger_transfer_out_in" without "t".

Signed-off-by: Hiep Cao Minh <cm-hiep@jinso.co.jp>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rspi.c

index 568ea41625f5fbb8595a9979f5657592b49ab634..45007236f9920adebf18c10bce9687f9bfb3396c 100644 (file)
@@ -721,7 +721,7 @@ static int rspi_rz_transfer_one(struct spi_master *master,
        return rspi_common_transfer(rspi, xfer);
 }
 
-static int qspi_trigger_transfer_out_int(struct rspi_data *rspi, const u8 *tx,
+static int qspi_trigger_transfer_out_in(struct rspi_data *rspi, const u8 *tx,
                                        u8 *rx, unsigned int len)
 {
        int i, n, ret;
@@ -768,7 +768,7 @@ static int qspi_transfer_out_in(struct rspi_data *rspi,
        if (ret != -EAGAIN)
                return ret;
 
-       ret = qspi_trigger_transfer_out_int(rspi, xfer->tx_buf,
+       ret = qspi_trigger_transfer_out_in(rspi, xfer->tx_buf,
                                            xfer->rx_buf, xfer->len);
        if (ret < 0)
                return ret;