Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d82e23dc authored by Samu Onkalo's avatar Samu Onkalo Committed by Linus Torvalds
Browse files

lis3lv02d_spi: module unload didn't remove sysfs entry



In module unload, lis3lv02d core driver sysfs clean up was not called.

Signed-off-by: default avatarSamu Onkalo <samu.p.onkalo@nokia.com>
Acked-by: default avatarDaniel Mack <daniel@caiaq.de>
Cc: Éric Piel <eric.piel@tremplin-utc.net>
Cc: "Trisal, Kalhan" <kalhan.trisal@intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a1125b1e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -83,7 +83,8 @@ static int __devexit lis302dl_spi_remove(struct spi_device *spi)
	struct lis3lv02d *lis3 = spi_get_drvdata(spi);
	lis3lv02d_joystick_disable();
	lis3lv02d_poweroff(lis3);
	return 0;

	return lis3lv02d_remove_fs(&lis3_dev);
}

#ifdef CONFIG_PM