mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bruno Carvalho <brunocarvalhofarias@gmail.com>
To: gregkh@linuxfoundation.org
Cc: ciorneiioana@gmail.com, amitoj1606@gmail.com,
	s.demeszko@wireless-instruments.com, shraddha.6596@gmail.com,
	bhumirks@gmail.com, shivanib134@gmail.com,
	mahfouz.saif.elyazal@gmail.com, tj@kernel.org,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	Bruno Carvalho <brunocarvalhofarias@gmail.com>
Subject: [PATCH] staging/gdm724x: Fix avoid CamelCase
Date: Sat,  7 May 2016 22:39:41 -0400	[thread overview]
Message-ID: <1462675181-15549-1-git-send-email-brunocarvalhofarias@gmail.com> (raw)

Fix checkpatch issues: "CHECK: Avoid CamelCase" 

Signed-off-by: Bruno Carvalho <brunocarvalhofarias@gmail.com>
---
 drivers/staging/gdm724x/gdm_usb.c    | 6 +++---
 drivers/staging/gdm724x/hci_packet.h | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/gdm724x/gdm_usb.c b/drivers/staging/gdm724x/gdm_usb.c
index 9db9b90..d650d77 100644
--- a/drivers/staging/gdm724x/gdm_usb.c
+++ b/drivers/staging/gdm724x/gdm_usb.c
@@ -708,7 +708,7 @@ static void do_tx(struct work_struct *work)
 
 #define SDU_PARAM_LEN 12
 static int gdm_usb_sdu_send(void *priv_dev, void *data, int len,
-			    unsigned int dftEpsId, unsigned int epsId,
+			    unsigned int dft_eps_ID, unsigned int eps_ID,
 			    void (*cb)(void *data), void *cb_data,
 			    int dev_idx, int nic_type)
 {
@@ -746,8 +746,8 @@ static int gdm_usb_sdu_send(void *priv_dev, void *data, int len,
 	}
 
 	sdu->len = gdm_cpu_to_dev16(&udev->gdm_ed, send_len);
-	sdu->dftEpsId = gdm_cpu_to_dev32(&udev->gdm_ed, dftEpsId);
-	sdu->bearer_ID = gdm_cpu_to_dev32(&udev->gdm_ed, epsId);
+	sdu->dft_eps_ID = gdm_cpu_to_dev32(&udev->gdm_ed, dft_eps_ID);
+	sdu->bearer_ID = gdm_cpu_to_dev32(&udev->gdm_ed, eps_ID);
 	sdu->nic_type = gdm_cpu_to_dev32(&udev->gdm_ed, nic_type);
 
 	t_sdu->len = send_len + HCI_HEADER_SIZE;
diff --git a/drivers/staging/gdm724x/hci_packet.h b/drivers/staging/gdm724x/hci_packet.h
index 7fba8a6..dbc4446 100644
--- a/drivers/staging/gdm724x/hci_packet.h
+++ b/drivers/staging/gdm724x/hci_packet.h
@@ -58,7 +58,7 @@ struct sdu_header {
 struct sdu {
 	u16 cmd_evt;
 	u16 len;
-	u32 dftEpsId;
+	u32 dft_eps_ID;
 	u32 bearer_ID;
 	u32 nic_type;
 	u8 data[0];
-- 
2.1.4

                 reply	other threads:[~2016-05-08  2:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1462675181-15549-1-git-send-email-brunocarvalhofarias@gmail.com \
    --to=brunocarvalhofarias@gmail.com \
    --cc=amitoj1606@gmail.com \
    --cc=bhumirks@gmail.com \
    --cc=ciorneiioana@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mahfouz.saif.elyazal@gmail.com \
    --cc=s.demeszko@wireless-instruments.com \
    --cc=shivanib134@gmail.com \
    --cc=shraddha.6596@gmail.com \
    --cc=tj@kernel.org \
    /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

all inboxes | Powered by JetHome®