summaryrefslogtreecommitdiff
path: root/drivers/mux/mux-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mux/mux-core.c')
-rw-r--r--drivers/mux/mux-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mux/mux-core.c b/drivers/mux/mux-core.c
index 90b8995f07cb..2fe96c470112 100644
--- a/drivers/mux/mux-core.c
+++ b/drivers/mux/mux-core.c
@@ -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);
}