spi: rockchip: todos spi-rockchip-test.c
authorHuang, Tao <huangtao@rock-chips.com>
Mon, 4 May 2015 09:50:33 +0000 (17:50 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 4 May 2015 09:50:33 +0000 (17:50 +0800)
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
drivers/spi/spi-rockchip-test.c

index 0dfca6766764e270a62ce726ef5afc58bcd4081f..a0ca2286839797147c5168e92ff6039ff3774539 100755 (executable)
@@ -177,7 +177,7 @@ static int rockchip_spi_test_probe(struct spi_device *spi)
        spi_test_data = (struct spi_test_data *)kzalloc(sizeof(struct spi_test_data), GFP_KERNEL);\r
        if(!spi_test_data){\r
                dev_err(&spi->dev, "ERR: no memory for spi_test_data\n");\r
-               return -ENOMEM;
+               return -ENOMEM;\r
        }\r
 \r
        spi->bits_per_word = 8; \r