Commit 19c16cd9 authored by Daniel Mack's avatar Daniel Mack Committed by James Toy

Signed-off-by: Daniel Mack <daniel@caiaq.de>

Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Cc: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent c0cd143a
......@@ -75,8 +75,7 @@ static int __devinit lis302dl_spi_probe(struct spi_device *spi)
lis3_dev.pdata = spi->dev.platform_data;
spi_set_drvdata(spi, &lis3_dev);
ret = lis3lv02d_init_device(&lis3_dev);
return ret;
return lis3lv02d_init_device(&lis3_dev);
}
static int __devexit lis302dl_spi_remove(struct spi_device *spi)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment