From: Ben Minerds <puzzleduck@gmail.com>
To: alan@lxorguk.ukuu.org.uk
Cc: gregkh@linuxfoundation.org, richard.weinberger@gmail.com,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Ben Minerds <puzzleduck@gmail.com>
Subject: [PATCH 12/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs.
Date: Thu, 10 May 2012 19:17:18 +1000 [thread overview]
Message-ID: <1336641447-23194-13-git-send-email-puzzleduck@gmail.com> (raw)
In-Reply-To: <1336641447-23194-1-git-send-email-puzzleduck@gmail.com>
Removed 9 checkpatch.sh warnings.
Signed-off-by: Ben Minerds <puzzleduck@gmail.com>
---
drivers/usb/serial/keyspan.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c
index 8259bfe..9b18357 100644
--- a/drivers/usb/serial/keyspan.c
+++ b/drivers/usb/serial/keyspan.c
@@ -1431,7 +1431,7 @@ static struct callbacks {
static void keyspan_setup_urbs(struct usb_serial *serial)
{
int i, j;
- struct keyspan_serial_private *s_priv;
+ struct keyspan_serial_private *s_priv;
const struct keyspan_device_details *d_details;
struct usb_serial_port *port;
struct keyspan_port_private *p_priv;
@@ -1507,7 +1507,7 @@ static void keyspan_setup_urbs(struct usb_serial *serial)
static int keyspan_usa19_calc_baud(u32 baud_rate, u32 baudclk, u8 *rate_hi,
u8 *rate_low, u8 *prescaler, int portnum)
{
- u32 b16, /* baud rate times 16 (actual rate used internally) */
+ u32 b16, /* baud rate times 16 (actual rate used internally) */
div, /* divisor */
cnt; /* inverse of divisor (programmed into 8051) */
@@ -1547,7 +1547,7 @@ static int keyspan_usa19_calc_baud(u32 baud_rate, u32 baudclk, u8 *rate_hi,
static int keyspan_usa19hs_calc_baud(u32 baud_rate, u32 baudclk, u8 *rate_hi,
u8 *rate_low, u8 *prescaler, int portnum)
{
- u32 b16, /* baud rate times 16 (actual rate used internally) */
+ u32 b16, /* baud rate times 16 (actual rate used internally) */
div; /* divisor */
dbg("%s - %d.", __func__, baud_rate);
@@ -1582,7 +1582,7 @@ static int keyspan_usa19hs_calc_baud(u32 baud_rate, u32 baudclk, u8 *rate_hi,
static int keyspan_usa19w_calc_baud(u32 baud_rate, u32 baudclk, u8 *rate_hi,
u8 *rate_low, u8 *prescaler, int portnum)
{
- u32 b16, /* baud rate times 16 (actual rate used internally) */
+ u32 b16, /* baud rate times 16 (actual rate used internally) */
clk, /* clock with 13/8 prescaler */
div, /* divisor using 13/8 prescaler */
res, /* resulting baud rate using 13/8 prescaler */
@@ -1645,7 +1645,7 @@ static int keyspan_usa19w_calc_baud(u32 baud_rate, u32 baudclk, u8 *rate_hi,
static int keyspan_usa28_calc_baud(u32 baud_rate, u32 baudclk, u8 *rate_hi,
u8 *rate_low, u8 *prescaler, int portnum)
{
- u32 b16, /* baud rate times 16 (actual rate used internally) */
+ u32 b16, /* baud rate times 16 (actual rate used internally) */
div, /* divisor */
cnt; /* inverse of divisor (programmed into 8051) */
@@ -1691,12 +1691,12 @@ static int keyspan_usa26_send_setup(struct usb_serial *serial,
int reset_port)
{
struct keyspan_usa26_portControlMessage msg;
- struct keyspan_serial_private *s_priv;
- struct keyspan_port_private *p_priv;
+ struct keyspan_serial_private *s_priv;
+ struct keyspan_port_private *p_priv;
const struct keyspan_device_details *d_details;
- int outcont_urb;
+ int outcont_urb;
struct urb *this_urb;
- int device_port, err;
+ int device_port, err;
dbg("%s reset=%d", __func__, reset_port);
--
1.7.2.5
next prev parent reply other threads:[~2012-05-10 9:16 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-10 9:17 [PATCH 00/21] USB: serial: Changes to conform with checkpatch.sh script Ben Minerds
2012-05-10 9:17 ` [PATCH 01/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10 10:42 ` Sergei Shtylyov
2012-05-10 13:59 ` Greg KH
2012-05-10 9:17 ` [PATCH 02/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '?' and ':' Ben Minerds
2012-05-10 10:46 ` Sergei Shtylyov
2012-05-10 9:17 ` [PATCH 03/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10 9:17 ` [PATCH 04/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '=' Ben Minerds
2012-05-10 9:17 ` [PATCH 05/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10 9:17 ` [PATCH 06/21] USB: serial: Changes to conform with checkpatch.sh script. white space around '(' Ben Minerds
2012-05-10 9:17 ` [PATCH 07/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10 9:17 ` [PATCH 08/21] " Ben Minerds
2012-05-10 9:17 ` [PATCH 09/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '?' and ':' Ben Minerds
2012-05-10 9:17 ` [PATCH 10/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10 9:17 ` [PATCH 11/21] USB: serial: Changes to conform with checkpatch.sh script. parentheses not required Ben Minerds
2012-05-10 9:17 ` Ben Minerds [this message]
2012-05-10 9:17 ` [PATCH 13/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '?' and ':' Ben Minerds
2012-05-10 9:17 ` [PATCH 14/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10 9:17 ` [PATCH 15/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '?' and ':' Ben Minerds
2012-05-10 9:17 ` [PATCH 16/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10 9:17 ` [PATCH 17/21] " Ben Minerds
2012-05-10 9:17 ` [PATCH 18/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '?' and ':' Ben Minerds
2012-05-10 9:17 ` [PATCH 19/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '?' Ben Minerds
2012-05-10 9:17 ` [PATCH 20/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10 9:17 ` [PATCH 21/21] USB: serial: Changes to conform with checkpatch.sh script. trailing whitespace Ben Minerds
2012-05-10 9:51 ` [PATCH 00/21] USB: serial: Changes to conform with checkpatch.sh script Arend van Spriel
2012-05-10 11:02 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1336641447-23194-13-git-send-email-puzzleduck@gmail.com \
--to=puzzleduck@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=richard.weinberger@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox