aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/gigaset/common.c
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2008-11-30 00:38:28 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-30 00:38:28 -0500
commit25f13048bce61f33f6a102e0bf377fd3922ed364 (patch)
tree1d73eb3432e324b3db90043ad80c51269b47fba9 /drivers/isdn/gigaset/common.c
parentaf4218c3a699542adc9b76c8972828a726e7b0dc (diff)
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>
Diffstat (limited to 'drivers/isdn/gigaset/common.c')
-rw-r--r--drivers/isdn/gigaset/common.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/isdn/gigaset/common.c b/drivers/isdn/gigaset/common.c
index 9d3ce7718e58..1664e31a78c3 100644
--- a/drivers/isdn/gigaset/common.c
+++ b/drivers/isdn/gigaset/common.c
@@ -580,7 +580,7 @@ static struct bc_state *gigaset_initbcs(struct bc_state *bcs,
580 } else if ((bcs->skb = dev_alloc_skb(SBUFSIZE + HW_HDR_LEN)) != NULL) 580 } else if ((bcs->skb = dev_alloc_skb(SBUFSIZE + HW_HDR_LEN)) != NULL)
581 skb_reserve(bcs->skb, HW_HDR_LEN); 581 skb_reserve(bcs->skb, HW_HDR_LEN);
582 else { 582 else {
583 warn("could not allocate skb"); 583 err("could not allocate skb");
584 bcs->inputstate |= INS_skip_frame; 584 bcs->inputstate |= INS_skip_frame;
585 } 585 }
586 586
@@ -1120,8 +1120,7 @@ static int __init gigaset_init_module(void)
1120 if (gigaset_debuglevel == 1) 1120 if (gigaset_debuglevel == 1)
1121 gigaset_debuglevel = DEBUG_DEFAULT; 1121 gigaset_debuglevel = DEBUG_DEFAULT;
1122 1122
1123 info(DRIVER_AUTHOR); 1123 printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_DESC "\n");
1124 info(DRIVER_DESC);
1125 return 0; 1124 return 0;
1126} 1125}
1127 1126