projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf25c19
)
mcb: Destroy IDA on module unload
author
Johannes Thumshirn
<jthumshirn@suse.de>
Wed, 28 Oct 2015 07:22:16 +0000
(08:22 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 29 Oct 2015 00:02:16 +0000
(09:02 +0900)
Destroy mcb_ida on module_unload
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mcb/mcb-core.c
patch
|
blob
|
history
diff --git
a/drivers/mcb/mcb-core.c
b/drivers/mcb/mcb-core.c
index
9018ab8
..
a4be451
100644
(file)
--- a/
drivers/mcb/mcb-core.c
+++ b/
drivers/mcb/mcb-core.c
@@
-409,6
+409,7
@@
static int mcb_init(void)
static void mcb_exit(void)
{
+ ida_destroy(&mcb_ida);
bus_unregister(&mcb_bus_type);
}