aboutsummaryrefslogtreecommitdiffstats
path: root/applied/usb-adutux-remove-direct-calls-to-printk.patch
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-04 13:07:52 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-04 13:07:52 -0700
commitbbcc0c699929d3b01ecf3066a35799defe733dd2 (patch)
tree5fd368175f54e652b663ebd33dc78e174a288445 /applied/usb-adutux-remove-direct-calls-to-printk.patch
parentcba9545b635d1566060d5a8f1a9dc78680f4e839 (diff)
downloadpatches-bbcc0c699929d3b01ecf3066a35799defe733dd2.tar.gz
remove a bunch of patches now in Linus's tree
Diffstat (limited to 'applied/usb-adutux-remove-direct-calls-to-printk.patch')
-rw-r--r--applied/usb-adutux-remove-direct-calls-to-printk.patch56
1 files changed, 0 insertions, 56 deletions
diff --git a/applied/usb-adutux-remove-direct-calls-to-printk.patch b/applied/usb-adutux-remove-direct-calls-to-printk.patch
deleted file mode 100644
index 56463b6254d5cf..00000000000000
--- a/applied/usb-adutux-remove-direct-calls-to-printk.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From foo@baz Wed Jun 26 16:23:03 PDT 2013
-Date: Wed, 26 Jun 2013 16:23:03 -0700
-To: Greg KH <gregkh@linuxfoundation.org>
-Cc: linux-usb@vger.kernel.org
-From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-Subject: USB: adutux: remove direct calls to printk()
-
-Use the pr_* calls instead, which are much more descriptive.
-
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/usb/misc/adutux.c | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
---- a/drivers/usb/misc/adutux.c
-+++ b/drivers/usb/misc/adutux.c
-@@ -18,6 +18,8 @@
- *
- */
-
-+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-+
- #include <linux/kernel.h>
- #include <linux/errno.h>
- #include <linux/init.h>
-@@ -236,8 +238,8 @@ static int adu_open(struct inode *inode,
-
- interface = usb_find_interface(&adu_driver, subminor);
- if (!interface) {
-- printk(KERN_ERR "adutux: %s - error, can't find device for "
-- "minor %d\n", __func__, subminor);
-+ pr_err("%s - error, can't find device for minor %d\n",
-+ __func__, subminor);
- retval = -ENODEV;
- goto exit_no_device;
- }
-@@ -357,8 +359,7 @@ static ssize_t adu_read(struct file *fil
- /* verify that the device wasn't unplugged */
- if (dev->udev == NULL) {
- retval = -ENODEV;
-- printk(KERN_ERR "adutux: No device or device unplugged %d\n",
-- retval);
-+ pr_err("No device or device unplugged %d\n", retval);
- goto exit;
- }
-
-@@ -527,8 +528,7 @@ static ssize_t adu_write(struct file *fi
- /* verify that the device wasn't unplugged */
- if (dev->udev == NULL) {
- retval = -ENODEV;
-- printk(KERN_ERR "adutux: No device or device unplugged %d\n",
-- retval);
-+ pr_err("No device or device unplugged %d\n", retval);
- goto exit;
- }
-