aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2011-11-27 02:39:22 -0500
committerDavid S. Miller <davem@davemloft.net>2011-11-27 17:08:30 -0500
commitfd4f862717ece652a76b4bb6c6d2c9656dbf0f7e (patch)
tree5a5b9e199625e9692db61fa09cfbd75472a1643d
parent450faacc621dbe0a4945ed8292afd45f4602d263 (diff)
isdn/gigaset: report ISDN4Linux interface only once
Move the "ISDN4Linux interface" message from device registration, where it is emitted for each device, to driver registration, where it is emitted only once, for consistency with the CAPI variant. Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/isdn/gigaset/i4l.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/isdn/gigaset/i4l.c b/drivers/isdn/gigaset/i4l.c
index 04231cb2f03..1793ba1b6a8 100644
--- a/drivers/isdn/gigaset/i4l.c
+++ b/drivers/isdn/gigaset/i4l.c
@@ -624,8 +624,6 @@ int gigaset_isdn_regdev(struct cardstate *cs, const char *isdnid)
624{ 624{
625 isdn_if *iif; 625 isdn_if *iif;
626 626
627 pr_info("ISDN4Linux interface\n");
628
629 iif = kmalloc(sizeof *iif, GFP_KERNEL); 627 iif = kmalloc(sizeof *iif, GFP_KERNEL);
630 if (!iif) { 628 if (!iif) {
631 pr_err("out of memory\n"); 629 pr_err("out of memory\n");
@@ -684,6 +682,7 @@ void gigaset_isdn_unregdev(struct cardstate *cs)
684 */ 682 */
685void gigaset_isdn_regdrv(void) 683void gigaset_isdn_regdrv(void)
686{ 684{
685 pr_info("ISDN4Linux interface\n");
687 /* nothing to do */ 686 /* nothing to do */
688} 687}
689 688