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

Message ID 1381188026-30841-1-git-send-email-rashika.kheria@gmail.com
State Not Applicable
Headers show

Commit Message

Rashika Oct. 7, 2013, 11:20 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(-)

Comments

Josh Triplett Oct. 8, 2013, 2:04 a.m. UTC | #1
On Tue, Oct 08, 2013 at 04:50:26AM +0530, Rashika Kheria wrote:
> 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>

Reviewed-by: Josh Triplett <josh@joshtriplett.org>

> ---
> 
> 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(-)
> 
> diff --git a/drivers/staging/btmtk_usb/btmtk_usb.c b/drivers/staging/btmtk_usb/btmtk_usb.c
> index d8ede3a..5dd8744 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 {
> -			BT_DBG("Firmware file \"%s\" Found \n",
> +			BT_DBG("Firmware file \"%s\" Found\n",
>  					MT7650_FIRMWARE);
>  			/* load firmware here */
>  			data->firmware = firmware;
> -- 
> 1.7.9.5
> 
> -- 
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Patch
diff mbox

diff --git a/drivers/staging/btmtk_usb/btmtk_usb.c b/drivers/staging/btmtk_usb/btmtk_usb.c
index d8ede3a..5dd8744 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 {
-			BT_DBG("Firmware file \"%s\" Found \n",
+			BT_DBG("Firmware file \"%s\" Found\n",
 					MT7650_FIRMWARE);
 			/* load firmware here */
 			data->firmware = firmware;