diff options
Diffstat (limited to 'drivers/isdn/gigaset/interface.c')
-rw-r--r-- | drivers/isdn/gigaset/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/gigaset/interface.c b/drivers/isdn/gigaset/interface.c index 521951a898ec..956381cd2774 100644 --- a/drivers/isdn/gigaset/interface.c +++ b/drivers/isdn/gigaset/interface.c | |||
@@ -701,7 +701,7 @@ void gigaset_if_initdriver(struct gigaset_driver *drv, const char *procname, | |||
701 | 701 | ||
702 | ret = tty_register_driver(tty); | 702 | ret = tty_register_driver(tty); |
703 | if (ret < 0) { | 703 | if (ret < 0) { |
704 | warn("failed to register tty driver (error %d)", ret); | 704 | err("failed to register tty driver (error %d)", ret); |
705 | goto error; | 705 | goto error; |
706 | } | 706 | } |
707 | gig_dbg(DEBUG_IF, "tty driver initialized"); | 707 | gig_dbg(DEBUG_IF, "tty driver initialized"); |
@@ -709,7 +709,7 @@ void gigaset_if_initdriver(struct gigaset_driver *drv, const char *procname, | |||
709 | return; | 709 | return; |
710 | 710 | ||
711 | enomem: | 711 | enomem: |
712 | warn("could not allocate tty structures"); | 712 | err("could not allocate tty structures"); |
713 | error: | 713 | error: |
714 | if (drv->tty) | 714 | if (drv->tty) |
715 | put_tty_driver(drv->tty); | 715 | put_tty_driver(drv->tty); |