aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/lis3lv02d/lis3lv02d.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/lis3lv02d/lis3lv02d.c b/drivers/misc/lis3lv02d/lis3lv02d.c
index 4a87e5c0a320..4cd4a3d2a76a 100644
--- a/drivers/misc/lis3lv02d/lis3lv02d.c
+++ b/drivers/misc/lis3lv02d/lis3lv02d.c
@@ -593,7 +593,6 @@ static int lis3lv02d_misc_release(struct inode *inode, struct file *file)
593 struct lis3lv02d *lis3 = container_of(file->private_data, 593 struct lis3lv02d *lis3 = container_of(file->private_data,
594 struct lis3lv02d, miscdev); 594 struct lis3lv02d, miscdev);
595 595
596 fasync_helper(-1, file, 0, &lis3->async_queue);
597 clear_bit(0, &lis3->misc_opened); /* release the device */ 596 clear_bit(0, &lis3->misc_opened); /* release the device */
598 if (lis3->pm_dev) 597 if (lis3->pm_dev)
599 pm_runtime_put(lis3->pm_dev); 598 pm_runtime_put(lis3->pm_dev);