spi: rockchip: todos spi-rockchip-test.c

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
Huang, Tao
2015-05-04 17:50:33 +08:00
parent 7f9d934145
commit 68a53d4656

View File

@@ -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);
if(!spi_test_data){
dev_err(&spi->dev, "ERR: no memory for spi_test_data\n");
return -ENOMEM;
return -ENOMEM;
}
spi->bits_per_word = 8;