Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1383176 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman
Browse files

staging: most: rename DIM_InitIsoc to dim_init_isoc



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: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 26303150
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -753,7 +753,7 @@ 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,
u8 dim_init_isoc(struct dim_channel *ch, u8 is_tx, u16 ch_address,
		 u16 packet_length)
{
	if (!g.dim_is_initialized || !ch)
+2 −2
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ 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,
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,
+1 −1
Original line number Diff line number Diff line
@@ -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);