[OPW,kernel] Re: [PATCH v2] Staging: btmtk_usb: Removal of Unnecessary white spaces
diff mbox

Message ID 14d7f981-5cf8-4cfa-9299-6860169eb611@googlegroups.com
State Superseded
Headers show

Commit Message

Rashika Oct. 5, 2013, 7:12 p.m. UTC
The patch fixes the following checkpatch.pl warning in btmtk_usb.c
WARNING: unnecessary whitespace before a quoted newline

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
---

This revision fixes the following issues from the previous revision-
Driver Name not mentioned in Subject

 drivers/staging/btmtk_usb/
btmtk_usb.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-                       BT_DBG("Firmware file \"%s\" Found \n",
+                       BT_DBG("Firmware file \"%s\" Found\n",
                                        MT7650_FIRMWARE);
                        /* load firmware here */
                        data->firmware = firmware;

Patch
diff mbox

diff --git a/drivers/staging/btmtk_usb/btmtk_usb.c 
b/drivers/staging/btmtk_usb/btmtk_usb.c
index 3dd83d2..de615f2 100644
--- a/drivers/staging/btmtk_usb/btmtk_usb.c
+++ b/drivers/staging/btmtk_usb/btmtk_usb.c
@@ -191,14 +191,14 @@  static void btmtk_usb_cap_init(struct btmtk_usb_data 
*data)
                ret = request_firmware(&firmware, MT7650_FIRMWARE, 
&udev->dev);
                if (ret < 0) {
                        if (ret == -ENOENT) {
-                               BT_ERR("Firmware file \"%s\" not found \n",
+                               BT_ERR("Firmware file \"%s\" not found\n",
                                                MT7650_FIRMWARE);
                        } else {
-                               BT_ERR("Firmware file \"%s\" request failed 
(err=%d) \n",
+                               BT_ERR("Firmware file \"%s\" request failed 
(err=%d)\n",
                                                MT7650_FIRMWARE, ret);
                        }
                } else {