[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150126125229.GA11609@mohammed-Inspiron-3537>
Date: Mon, 26 Jan 2015 14:52:29 +0200
From: Heba Aamer <heba93aamer@...il.com>
To: devel@...verdev.osuosl.org
Cc: Larry.Finger@...inger.net, florian.c.schilhabel@...glemail.com,
gregkh@...uxfoundation.org, tapaswenipathak@...il.com,
thomas@...uk.net, sudipm.mukherjee@...il.com,
rickard_strandqvist@...ctrumdigital.se,
linux-kernel@...r.kernel.org
Subject: [PATCH v2] staging: rtl8712: fix Prefer [subsystem eg:
netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to
printk(KERN_INFO ...
This patch fixes the following checkpatch.pl warning:
fix Prefer [subsystem eg: netdev]_info([subsystem]dev,
... then dev_info(dev, ... then pr_info(... to
printk(KERN_INFO ...
Signed-off-by: Heba Aamer <heba93aamer@...il.com>
---
v2: changed netdev_info to pr_info
drivers/staging/rtl8712/usb_intf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8712/usb_intf.c b/drivers/staging/rtl8712/usb_intf.c
index 7d0d171..15f0d42 100644
--- a/drivers/staging/rtl8712/usb_intf.c
+++ b/drivers/staging/rtl8712/usb_intf.c
@@ -366,7 +366,7 @@ static int r871xu_drv_init(struct usb_interface *pusb_intf,
struct net_device *pnetdev;
struct usb_device *udev;
- printk(KERN_INFO "r8712u: Staging version\n");
+ pr_info("r8712u: Staging version\n");
/* In this probe function, O.S. will provide the usb interface pointer
* to driver. We have to increase the reference count of the usb device
* structure by using the usb_get_dev function.
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists