Skip to content

Commit

Permalink
mux: mux-core: unregister mux_class in mux_exit()
Browse files Browse the repository at this point in the history
Fixes an obvious and nasty typo.

Fixes: a3b02a9 ("mux: minimal mux subsystem")
Signed-off-by: Kuppuswamy Sathyanarayanan <[email protected]>
Signed-off-by: Peter Rosin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Kuppuswamy Sathyanarayanan authored and gregkh committed Jul 17, 2017
1 parent 4c19c0e commit 9988499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mux/mux-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static int __init mux_init(void)

static void __exit mux_exit(void)
{
class_register(&mux_class);
class_unregister(&mux_class);
ida_destroy(&mux_ida);
}

Expand Down

0 comments on commit 9988499

Please sign in to comment.