staging: most: rename DIM_InitSync to dim_init_sync
This patch renames DIM_InitSync to dim_init_sync to avoid camelcase found by checkpatch. CHECK: Avoid CamelCase: <DIM_InitSync> FILE: drivers/staging/most/hdm-dim2/dim2_hal.c:781: Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f1383176c9
commit
10e5efb7b5
@ -778,7 +778,7 @@ u8 dim_init_isoc(struct dim_channel *ch, u8 is_tx, u16 ch_address,
|
|||||||
return DIM_NO_ERROR;
|
return DIM_NO_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
u8 DIM_InitSync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
|
u8 dim_init_sync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
|
||||||
u16 bytes_per_frame)
|
u16 bytes_per_frame)
|
||||||
{
|
{
|
||||||
if (!g.dim_is_initialized || !ch)
|
if (!g.dim_is_initialized || !ch)
|
||||||
|
@ -86,7 +86,7 @@ u8 dim_init_async(struct dim_channel *ch, u8 is_tx, u16 ch_address,
|
|||||||
u8 dim_init_isoc(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);
|
u16 packet_length);
|
||||||
|
|
||||||
u8 DIM_InitSync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
|
u8 dim_init_sync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
|
||||||
u16 bytes_per_frame);
|
u16 bytes_per_frame);
|
||||||
|
|
||||||
u8 DIM_DestroyChannel(struct dim_channel *ch);
|
u8 DIM_DestroyChannel(struct dim_channel *ch);
|
||||||
|
@ -586,7 +586,7 @@ static int configure_channel(struct most_interface *most_iface, int ch_idx,
|
|||||||
pr_warn("%s: fixed buffer size (%d -> %d)\n",
|
pr_warn("%s: fixed buffer size (%d -> %d)\n",
|
||||||
hdm_ch->name, buf_size, new_size);
|
hdm_ch->name, buf_size, new_size);
|
||||||
spin_lock_irqsave(&dim_lock, flags);
|
spin_lock_irqsave(&dim_lock, flags);
|
||||||
hal_ret = DIM_InitSync(&hdm_ch->ch, is_tx, ch_addr, sub_size);
|
hal_ret = dim_init_sync(&hdm_ch->ch, is_tx, ch_addr, sub_size);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
pr_err("%s: configure failed, bad channel type: %d\n",
|
pr_err("%s: configure failed, bad channel type: %d\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user