gigaset: get rid of info() and warn() macros

Join the move away from the obsolete info() macro, opencoding the
remaining uses. While we're at it, also get rid of the warn() macro
by promoting the three remaining uses to err().

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
此提交包含在:
Tilman Schmidt
2008-11-29 21:38:28 -08:00
提交者 David S. Miller
父節點 af4218c3a6
當前提交 25f13048bc
共有 6 個檔案被更改,包括 7 行新增17 行删除

查看文件

@@ -701,7 +701,7 @@ void gigaset_if_initdriver(struct gigaset_driver *drv, const char *procname,
ret = tty_register_driver(tty);
if (ret < 0) {
warn("failed to register tty driver (error %d)", ret);
err("failed to register tty driver (error %d)", ret);
goto error;
}
gig_dbg(DEBUG_IF, "tty driver initialized");
@@ -709,7 +709,7 @@ void gigaset_if_initdriver(struct gigaset_driver *drv, const char *procname,
return;
enomem:
warn("could not allocate tty structures");
err("could not allocate tty structures");
error:
if (drv->tty)
put_tty_driver(drv->tty);