lkml.org 
[lkml]   [2011]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCHv2 6/7] input/cma3000_d0x: Unwind reverse order of init
Date

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
---
drivers/input/misc/cma3000_d0x.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/input/misc/cma3000_d0x.c b/drivers/input/misc/cma3000_d0x.c
index e1d27d0..9836264 100644
--- a/drivers/input/misc/cma3000_d0x.c
+++ b/drivers/input/misc/cma3000_d0x.c
@@ -407,8 +407,8 @@ EXPORT_SYMBOL(cma3000_init);

void cma3000_exit(struct cma3000_accl_data *data)
{
- free_irq(data->irq, data);
input_unregister_device(data->input_dev);
+ free_irq(data->irq, data);
kfree(data);
}
EXPORT_SYMBOL(cma3000_exit);
--
1.7.7


\
 
 \ /
  Last update: 2011-10-18 14:09    [W:0.220 / U:0.532 seconds]
©2003-2014 Jasper Spaans. Advertise on this site