From: Johannes Thumshirn Date: Wed, 28 Oct 2015 07:22:16 +0000 (+0100) Subject: mcb: Destroy IDA on module unload X-Git-Tag: v4.9.8~3285^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=169883a63eb7e34e8e1c92fd451f34a5635c29ad;p=platform%2Fkernel%2Flinux-rpi3.git mcb: Destroy IDA on module unload Destroy mcb_ida on module_unload Signed-off-by: Johannes Thumshirn Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/mcb/mcb-core.c b/drivers/mcb/mcb-core.c index 9018ab8..a4be451 100644 --- 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); }