diff options
Diffstat (limited to 'drivers/s390/char/monwriter.c')
-rw-r--r-- | drivers/s390/char/monwriter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/monwriter.c b/drivers/s390/char/monwriter.c index 98a49dfda1de..572a1e7fd099 100644 --- a/drivers/s390/char/monwriter.c +++ b/drivers/s390/char/monwriter.c | |||
@@ -380,7 +380,7 @@ out_driver: | |||
380 | 380 | ||
381 | static void __exit mon_exit(void) | 381 | static void __exit mon_exit(void) |
382 | { | 382 | { |
383 | WARN_ON(misc_deregister(&mon_dev) != 0); | 383 | misc_deregister(&mon_dev); |
384 | platform_device_unregister(monwriter_pdev); | 384 | platform_device_unregister(monwriter_pdev); |
385 | platform_driver_unregister(&monwriter_pdrv); | 385 | platform_driver_unregister(&monwriter_pdrv); |
386 | } | 386 | } |