staging/gdm724x: Fix avoid CamelCase
authorBruno Carvalho <brunocarvalhofarias@gmail.com>
Sun, 8 May 2016 02:39:41 +0000 (22:39 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 May 2016 12:25:52 +0000 (14:25 +0200)
Fix checkpatch issues: "CHECK: Avoid CamelCase"

Signed-off-by: Bruno Carvalho <brunocarvalhofarias@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm724x/gdm_usb.c
drivers/staging/gdm724x/hci_packet.h

index 9db9b90..d650d77 100644 (file)
@@ -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;
index 7fba8a6..dbc4446 100644 (file)
@@ -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];