aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/char
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2010-08-10 07:22:08 -0400
committerJiri Kosina <jkosina@suse.cz>2010-08-10 07:22:08 -0400
commitfb8231a8b139035476f2a8aaac837d0099b66dad (patch)
tree2875806beb96ea0cdab292146767a5085721dc6a /drivers/s390/char
parent426d31071ac476ea62c62656b242930c17b58c00 (diff)
parentf6cec0ae58c17522a7bc4e2f39dae19f199ab534 (diff)
Merge branch 'master' into for-next
Conflicts: arch/arm/mach-omap1/board-nokia770.c
Diffstat (limited to 'drivers/s390/char')
-rw-r--r--drivers/s390/char/monreader.c2
-rw-r--r--drivers/s390/char/monwriter.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/char/monreader.c b/drivers/s390/char/monreader.c
index 2ed3f82e5c30..e021ec663ef9 100644
--- a/drivers/s390/char/monreader.c
+++ b/drivers/s390/char/monreader.c
@@ -627,7 +627,7 @@ out_iucv:
627static void __exit mon_exit(void) 627static void __exit mon_exit(void)
628{ 628{
629 segment_unload(mon_dcss_name); 629 segment_unload(mon_dcss_name);
630 WARN_ON(misc_deregister(&mon_dev) != 0); 630 misc_deregister(&mon_dev);
631 device_unregister(monreader_device); 631 device_unregister(monreader_device);
632 driver_unregister(&monreader_driver); 632 driver_unregister(&monreader_driver);
633 iucv_unregister(&monreader_iucv_handler, 1); 633 iucv_unregister(&monreader_iucv_handler, 1);
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
381static void __exit mon_exit(void) 381static 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}