staging: most: rename DIM_InitIsoc to dim_init_isoc
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 2 Nov 2015 13:59:10 +0000 (22:59 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames DIM_InitIsoc to dim_init_isoc to avoid camelcase
found by checkpatch.

CHECK: Avoid CamelCase: <DIM_InitIsoc>
FILE: drivers/staging/most/hdm-dim2/dim2_hal.c:756:

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-dim2/dim2_hal.c
drivers/staging/most/hdm-dim2/dim2_hal.h
drivers/staging/most/hdm-dim2/dim2_hdm.c

index a59bb50451a2bd51c548abcbb21de4893cc4febc..3c9ea4cd3c11e4ab0d5a3ff2d5fc4032d138efeb 100644 (file)
@@ -753,8 +753,8 @@ u8 dim_init_async(struct dim_channel *ch, u8 is_tx, u16 ch_address,
                               max_buffer_size);
 }
 
-u8 DIM_InitIsoc(struct dim_channel *ch, u8 is_tx, u16 ch_address,
-               u16 packet_length)
+u8 dim_init_isoc(struct dim_channel *ch, u8 is_tx, u16 ch_address,
+                u16 packet_length)
 {
        if (!g.dim_is_initialized || !ch)
                return DIM_ERR_DRIVER_NOT_INITIALIZED;
index 8c60f7eab6926b444baf1efe275e17c5b754f45b..43e79c97851fa196bc8f36cd92face03edb61d0d 100644 (file)
@@ -83,8 +83,8 @@ u8 dim_init_control(struct dim_channel *ch, u8 is_tx, u16 ch_address,
 u8 dim_init_async(struct dim_channel *ch, u8 is_tx, u16 ch_address,
                  u16 max_buffer_size);
 
-u8 DIM_InitIsoc(struct dim_channel *ch, u8 is_tx, u16 ch_address,
-               u16 packet_length);
+u8 dim_init_isoc(struct dim_channel *ch, u8 is_tx, u16 ch_address,
+                u16 packet_length);
 
 u8 DIM_InitSync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
                u16 bytes_per_frame);
index 4bc6c8e8b89a882d8babd5d9b0c435d238caa0e9..43a9c2b2814812c00a7441d923063d6f3b8090b8 100644 (file)
@@ -572,7 +572,7 @@ static int configure_channel(struct most_interface *most_iface, int ch_idx,
                        pr_warn("%s: fixed buffer size (%d -> %d)\n",
                                hdm_ch->name, buf_size, new_size);
                spin_lock_irqsave(&dim_lock, flags);
-               hal_ret = DIM_InitIsoc(&hdm_ch->ch, is_tx, ch_addr, sub_size);
+               hal_ret = dim_init_isoc(&hdm_ch->ch, is_tx, ch_addr, sub_size);
                break;
        case MOST_CH_SYNC:
                new_size = dim_norm_sync_buffer_size(buf_size, sub_size);
This page took 0.028254 seconds and 5 git commands to generate.