Commit fd4f8627 authored by Tilman Schmidt's avatar Tilman Schmidt Committed by David S. Miller

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: default avatarTilman Schmidt <tilman@imap.cc>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 450faacc
...@@ -624,8 +624,6 @@ int gigaset_isdn_regdev(struct cardstate *cs, const char *isdnid) ...@@ -624,8 +624,6 @@ int gigaset_isdn_regdev(struct cardstate *cs, const char *isdnid)
{ {
isdn_if *iif; isdn_if *iif;
pr_info("ISDN4Linux interface\n");
iif = kmalloc(sizeof *iif, GFP_KERNEL); iif = kmalloc(sizeof *iif, GFP_KERNEL);
if (!iif) { if (!iif) {
pr_err("out of memory\n"); pr_err("out of memory\n");
...@@ -684,6 +682,7 @@ void gigaset_isdn_unregdev(struct cardstate *cs) ...@@ -684,6 +682,7 @@ void gigaset_isdn_unregdev(struct cardstate *cs)
*/ */
void gigaset_isdn_regdrv(void) void gigaset_isdn_regdrv(void)
{ {
pr_info("ISDN4Linux interface\n");
/* nothing to do */ /* nothing to do */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment