mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tolga Ceylan <tolga.ceylan@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"David S. Miller" <davem@davemloft.net>,
	Dilek Uzulmez <dilekuzulmez@gmail.com>,
	Ning Zhou <zhou.ning.gd@gmail.com>,
	Gulsah Kose <gulsah.1004@gmail.com>, Tom Gundersen <teg@jklm.no>,
	Scott Weir <sjw0410@gmail.com>,
	Monam Agarwal <monamagarwal123@gmail.com>,
	Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>,
	Uma Sharma <uma.sharma523@gmail.com>,
	Josh Triplett <josh@joshtriplett.org>,
	Daniel Ngu <daniel.dy.ngu@gmail.com>,
	Robert Nachlinger <robert.nachlinger@gmail.com>,
	Ebru Akagunduz <ebru.akagunduz@gmail.com>,
	Octavian Purdila <octavian.purdila@intel.com>,
	Kiran Padwal <kiran.padwal21@gmail.com>,
	Alexey Khoroshilov <khoroshilov@ispras.ru>,
	Aybuke Ozdemir <aybuke.147@gmail.com>,
	Cihangir Akturk <cakturk@gmail.com>,
	Dan Carpenter <dan.carpenter@oracle.com>,
	Abel Moyo <abelmoyo.ab@gmail.com>,
	Himangi Saraogi <himangi774@gmail.com>,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Cc: Tolga Ceylan <tolga.ceylan@gmail.com>
Subject: [PATCH 5/5] Staging: gdm724x: code style improvements
Date: Fri, 13 Feb 2015 21:32:24 -0800	[thread overview]
Message-ID: <1423891944-26824-5-git-send-email-tolga.ceylan@gmail.com> (raw)
In-Reply-To: <1423891944-26824-1-git-send-email-tolga.ceylan@gmail.com>

Unnecessary blank lines removed

Signed-off-by: Tolga Ceylan <tolga.ceylan@gmail.com>
---
 drivers/staging/gdm724x/gdm_endian.c | 1 -
 drivers/staging/gdm724x/gdm_mux.c    | 5 -----
 drivers/staging/gdm724x/gdm_tty.c    | 1 -
 drivers/staging/gdm724x/gdm_tty.h    | 1 -
 drivers/staging/gdm724x/hci_packet.h | 1 -
 5 files changed, 9 deletions(-)

diff --git a/drivers/staging/gdm724x/gdm_endian.c b/drivers/staging/gdm724x/gdm_endian.c
index f6cc90a..4044453 100644
--- a/drivers/staging/gdm724x/gdm_endian.c
+++ b/drivers/staging/gdm724x/gdm_endian.c
@@ -31,7 +31,6 @@ void gdm_set_endian(struct gdm_endian *ed, u8 dev_endian)
 		ed->host_ed = ENDIANNESS_LITTLE;
 	else
 		ed->host_ed = ENDIANNESS_BIG;
-
 }
 
 u16 gdm_cpu_to_dev16(struct gdm_endian *ed, u16 x)
diff --git a/drivers/staging/gdm724x/gdm_mux.c b/drivers/staging/gdm724x/gdm_mux.c
index 522f3cd..7584d7a 100644
--- a/drivers/staging/gdm724x/gdm_mux.c
+++ b/drivers/staging/gdm724x/gdm_mux.c
@@ -48,7 +48,6 @@ static const struct usb_device_id id_table[] = {
 	{}
 };
 
-
 MODULE_DEVICE_TABLE(usb, id_table);
 
 static int packet_type_to_index(u16 packetType)
@@ -150,7 +149,6 @@ static void put_rx_struct(struct rx_cxt *rx, struct mux_rx *r)
 	spin_unlock_irqrestore(&rx->free_list_lock, flags);
 }
 
-
 static int up_to_host(struct mux_rx *r)
 {
 	struct mux_dev *mux_dev = (struct mux_dev *)r->mux_dev;
@@ -477,7 +475,6 @@ static void release_usb(struct mux_dev *mux_dev)
 	spin_unlock_irqrestore(&rx->to_host_lock, flags);
 }
 
-
 static int init_usb(struct mux_dev *mux_dev)
 {
 	struct mux_rx *r;
@@ -615,7 +612,6 @@ static int gdm_mux_suspend(struct usb_interface *intf, pm_message_t pm_msg)
 
 	mux_dev->usb_state = PM_SUSPEND;
 
-
 	spin_lock_irqsave(&rx->submit_list_lock, flags);
 	list_for_each_entry_safe(r, r_next, &rx->rx_submit_list,
 				 rx_submit_list) {
@@ -663,7 +659,6 @@ static struct usb_driver gdm_mux_driver = {
 
 static int __init gdm_usb_mux_init(void)
 {
-
 	mux_rx_wq = create_workqueue("mux_rx_wq");
 	if (!mux_rx_wq) {
 		pr_err("work queue create fail\n");
diff --git a/drivers/staging/gdm724x/gdm_tty.c b/drivers/staging/gdm724x/gdm_tty.c
index 3b9bf07..60b52a3 100644
--- a/drivers/staging/gdm724x/gdm_tty.c
+++ b/drivers/staging/gdm724x/gdm_tty.c
@@ -225,7 +225,6 @@ int register_lte_tty_device(struct tty_dev *tty_dev, struct device *device)
 	int j;
 
 	for (i = 0; i < TTY_MAX_COUNT; i++) {
-
 		gdm = kmalloc(sizeof(*gdm), GFP_KERNEL);
 		if (!gdm)
 			return -ENOMEM;
diff --git a/drivers/staging/gdm724x/gdm_tty.h b/drivers/staging/gdm724x/gdm_tty.h
index 297438b..195c590 100644
--- a/drivers/staging/gdm724x/gdm_tty.h
+++ b/drivers/staging/gdm724x/gdm_tty.h
@@ -17,7 +17,6 @@
 #include <linux/types.h>
 #include <linux/tty.h>
 
-
 #define TTY_MAX_COUNT		2
 
 #define MAX_ISSUE_NUM 3
diff --git a/drivers/staging/gdm724x/hci_packet.h b/drivers/staging/gdm724x/hci_packet.h
index 7fba8a6..46e0fc4 100644
--- a/drivers/staging/gdm724x/hci_packet.h
+++ b/drivers/staging/gdm724x/hci_packet.h
@@ -89,5 +89,4 @@ struct hci_connect_ind {
 	u32 connect;
 } __packed;
 
-
 #endif /* _HCI_PACKET_H_ */
-- 
2.3.0


  parent reply	other threads:[~2015-02-14  5:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-14  5:32 [PATCH 1/5] " Tolga Ceylan
2015-02-14  5:32 ` [PATCH 2/5] " Tolga Ceylan
2015-02-14  5:32 ` [PATCH 3/5] " Tolga Ceylan
2015-02-14  5:32 ` [PATCH 4/5] " Tolga Ceylan
2015-02-14  5:32 ` Tolga Ceylan [this message]
2015-03-07  0:51 ` [PATCH 1/5] " Greg Kroah-Hartman

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=1423891944-26824-5-git-send-email-tolga.ceylan@gmail.com \
    --to=tolga.ceylan@gmail.com \
    --cc=abelmoyo.ab@gmail.com \
    --cc=aybuke.147@gmail.com \
    --cc=cakturk@gmail.com \
    --cc=dan.carpenter@oracle.com \
    --cc=daniel.dy.ngu@gmail.com \
    --cc=davem@davemloft.net \
    --cc=devel@driverdev.osuosl.org \
    --cc=dilekuzulmez@gmail.com \
    --cc=ebru.akagunduz@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=gulsah.1004@gmail.com \
    --cc=himangi774@gmail.com \
    --cc=josh@joshtriplett.org \
    --cc=khoroshilov@ispras.ru \
    --cc=kiran.padwal21@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=monamagarwal123@gmail.com \
    --cc=octavian.purdila@intel.com \
    --cc=peter.p.waskiewicz.jr@intel.com \
    --cc=robert.nachlinger@gmail.com \
    --cc=sjw0410@gmail.com \
    --cc=teg@jklm.no \
    --cc=uma.sharma523@gmail.com \
    --cc=zhou.ning.gd@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

Powered by JetHome