Skip to content

Commit

Permalink
mcb: Destroy IDA on module unload
Browse files Browse the repository at this point in the history
Destroy mcb_ida on module_unload

Signed-off-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Johannes Thumshirn authored and gregkh committed Oct 29, 2015
1 parent bf25c19 commit 169883a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mcb/mcb-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ static int mcb_init(void)

static void mcb_exit(void)
{
ida_destroy(&mcb_ida);
bus_unregister(&mcb_bus_type);
}

Expand Down

0 comments on commit 169883a

Please sign in to comment.