aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/char
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2008-07-14 03:59:25 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 04:02:18 -0400
commita26182ed7171bff74caf5a55d4d3bdd6f400dfb5 (patch)
tree2be368a0adb988f5ac9f6abc3c8ec323d117a18d /drivers/s390/char
parent8df22b4b39c6a1679f471bd68f97cf6f6819571a (diff)
[S390] Cleanup 3270 printk messages.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/char')
-rw-r--r--drivers/s390/char/fs3270.c5
-rw-r--r--drivers/s390/char/raw3270.c1
-rw-r--r--drivers/s390/char/tty3270.c3
3 files changed, 1 insertions, 8 deletions
diff --git a/drivers/s390/char/fs3270.c b/drivers/s390/char/fs3270.c
index f0d67af96402..e136d10a0de6 100644
--- a/drivers/s390/char/fs3270.c
+++ b/drivers/s390/char/fs3270.c
@@ -512,11 +512,8 @@ fs3270_init(void)
512 int rc; 512 int rc;
513 513
514 rc = register_chrdev(IBM_FS3270_MAJOR, "fs3270", &fs3270_fops); 514 rc = register_chrdev(IBM_FS3270_MAJOR, "fs3270", &fs3270_fops);
515 if (rc) { 515 if (rc)
516 printk(KERN_ERR "fs3270 can't get major number %d: errno %d\n",
517 IBM_FS3270_MAJOR, rc);
518 return rc; 516 return rc;
519 }
520 return 0; 517 return 0;
521} 518}
522 519
diff --git a/drivers/s390/char/raw3270.c b/drivers/s390/char/raw3270.c
index e2767e3b8cfd..81a96e019080 100644
--- a/drivers/s390/char/raw3270.c
+++ b/drivers/s390/char/raw3270.c
@@ -610,7 +610,6 @@ __raw3270_size_device_vm(struct raw3270 *rp)
610 rp->cols = 132; 610 rp->cols = 132;
611 break; 611 break;
612 default: 612 default:
613 printk(KERN_WARNING "vrdccrmd is 0x%.8x\n", model);
614 rc = -EOPNOTSUPP; 613 rc = -EOPNOTSUPP;
615 break; 614 break;
616 } 615 }
diff --git a/drivers/s390/char/tty3270.c b/drivers/s390/char/tty3270.c
index e4ba8bdce32e..a7fe6302c982 100644
--- a/drivers/s390/char/tty3270.c
+++ b/drivers/s390/char/tty3270.c
@@ -1792,15 +1792,12 @@ static int __init tty3270_init(void)
1792 tty_set_operations(driver, &tty3270_ops); 1792 tty_set_operations(driver, &tty3270_ops);
1793 ret = tty_register_driver(driver); 1793 ret = tty_register_driver(driver);
1794 if (ret) { 1794 if (ret) {
1795 printk(KERN_ERR "tty3270 registration failed with %d\n", ret);
1796 put_tty_driver(driver); 1795 put_tty_driver(driver);
1797 return ret; 1796 return ret;
1798 } 1797 }
1799 tty3270_driver = driver; 1798 tty3270_driver = driver;
1800 ret = raw3270_register_notifier(tty3270_notifier); 1799 ret = raw3270_register_notifier(tty3270_notifier);
1801 if (ret) { 1800 if (ret) {
1802 printk(KERN_ERR "tty3270 notifier registration failed "
1803 "with %d\n", ret);
1804 put_tty_driver(driver); 1801 put_tty_driver(driver);
1805 return ret; 1802 return ret;
1806 1803