* [PATCH] isdn/gigaset: report ISDN4Linux interface only once
@ 2011-11-27 17:39 Tilman Schmidt
2011-11-27 22:08 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Tilman Schmidt @ 2011-11-27 17:39 UTC (permalink / raw)
To: Karsten Keil, David Miller
Cc: Hansjoerg Lipp, Karsten Keil, i4ldeveloper, netdev, linux-kernel
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>
---
drivers/isdn/gigaset/i4l.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/isdn/gigaset/i4l.c b/drivers/isdn/gigaset/i4l.c
index 04231cb..1793ba1 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)
{
isdn_if *iif;
- pr_info("ISDN4Linux interface\n");
-
iif = kmalloc(sizeof *iif, GFP_KERNEL);
if (!iif) {
pr_err("out of memory\n");
@@ -684,6 +682,7 @@ void gigaset_isdn_unregdev(struct cardstate *cs)
*/
void gigaset_isdn_regdrv(void)
{
+ pr_info("ISDN4Linux interface\n");
/* nothing to do */
}
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] isdn/gigaset: report ISDN4Linux interface only once
2011-11-27 17:39 [PATCH] isdn/gigaset: report ISDN4Linux interface only once Tilman Schmidt
@ 2011-11-27 22:08 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-11-27 22:08 UTC (permalink / raw)
To: tilman; +Cc: isdn, hjlipp, keil, i4ldeveloper, netdev, linux-kernel
From: Tilman Schmidt <tilman@imap.cc>
Date: Sun, 27 Nov 2011 18:39:22 +0100
> 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>
Applied to net-next, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-27 22:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-27 17:39 [PATCH] isdn/gigaset: report ISDN4Linux interface only once Tilman Schmidt
2011-11-27 22:08 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).