Commit 99884996 authored by Kuppuswamy Sathyanarayanan's avatar Kuppuswamy Sathyanarayanan Committed by Greg Kroah-Hartman

mux: mux-core: unregister mux_class in mux_exit()

Fixes an obvious and nasty typo.

Fixes: a3b02a9c ("mux: minimal mux subsystem")
Signed-off-by: default avatarKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4c19c0ec
...@@ -46,7 +46,7 @@ static int __init mux_init(void) ...@@ -46,7 +46,7 @@ static int __init mux_init(void)
static void __exit mux_exit(void) static void __exit mux_exit(void)
{ {
class_register(&mux_class); class_unregister(&mux_class);
ida_destroy(&mux_ida); ida_destroy(&mux_ida);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment