Skip to content

Commit 9988499

Browse files
Kuppuswamy Sathyanarayanangregkh
authored andcommitted
mux: mux-core: unregister mux_class in mux_exit()
Fixes an obvious and nasty typo. Fixes: a3b02a9 ("mux: minimal mux subsystem") Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4c19c0e commit 9988499

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mux/mux-core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static int __init mux_init(void)
4646

4747
static void __exit mux_exit(void)
4848
{
49-
class_register(&mux_class);
49+
class_unregister(&mux_class);
5050
ida_destroy(&mux_ida);
5151
}
5252

0 commit comments

Comments
 (0)