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

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

staging: most: rename DIM_InitControl to dim_init_control



This patch renames DIM_InitControl to dim_init_control to avoid
camelcase found by checkpatch.

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

Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aff19245
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -739,7 +739,7 @@ u16 dim_norm_sync_buffer_size(u16 buf_size, u16 bytes_per_frame)
	return norm_sync_buffer_size(buf_size, bytes_per_frame);
}

u8 DIM_InitControl(struct dim_channel *ch, u8 is_tx, u16 ch_address,
u8 dim_init_control(struct dim_channel *ch, u8 is_tx, u16 ch_address,
		    u16 max_buffer_size)
{
	return init_ctrl_async(ch, CAT_CT_VAL_CONTROL, is_tx, ch_address,
+2 −2
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ u16 dim_norm_isoc_buffer_size(u16 buf_size, u16 packet_length);

u16 dim_norm_sync_buffer_size(u16 buf_size, u16 bytes_per_frame);

u8 DIM_InitControl(struct dim_channel *ch, u8 is_tx, u16 ch_address,
u8 dim_init_control(struct dim_channel *ch, u8 is_tx, u16 ch_address,
		    u16 max_buffer_size);

u8 DIM_InitAsync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
+2 −2
Original line number Diff line number Diff line
@@ -544,7 +544,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_InitControl(&hdm_ch->ch, is_tx, ch_addr,
		hal_ret = dim_init_control(&hdm_ch->ch, is_tx, ch_addr,
					   buf_size);
		break;
	case MOST_CH_ASYNC: