提交 dc791f8a 编写于 作者: D Daniel Mack 提交者: Linus Torvalds

lis3_spi: code cleanups

Signed-off-by: NDaniel Mack <daniel@caiaq.de>
Acked-by: NPavel Machek <pavel@ucw.cz>
Cc: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 2cd9645e
...@@ -75,8 +75,7 @@ static int __devinit lis302dl_spi_probe(struct spi_device *spi) ...@@ -75,8 +75,7 @@ static int __devinit lis302dl_spi_probe(struct spi_device *spi)
lis3_dev.pdata = spi->dev.platform_data; lis3_dev.pdata = spi->dev.platform_data;
spi_set_drvdata(spi, &lis3_dev); spi_set_drvdata(spi, &lis3_dev);
ret = lis3lv02d_init_device(&lis3_dev); return lis3lv02d_init_device(&lis3_dev);
return ret;
} }
static int __devexit lis302dl_spi_remove(struct spi_device *spi) static int __devexit lis302dl_spi_remove(struct spi_device *spi)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册