Commit b724207b authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman

staging: most: rename DIM_GetLockState to dim_get_lock_state

This patch renames DIM_GetLockState to dim_get_lock_state to avoid
camelcase found by checkpatch.

CHECK: Avoid CamelCase: <DIM_GetLockState>
FILE: drivers/staging/most/hdm-dim2/dim2_hdm.c:131:
Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 38c38544
...@@ -679,7 +679,7 @@ void dim_shutdown(void) ...@@ -679,7 +679,7 @@ void dim_shutdown(void)
dim2_cleanup(); dim2_cleanup();
} }
bool DIM_GetLockState(void) bool dim_get_lock_state(void)
{ {
return dim2_is_mlb_locked(); return dim2_is_mlb_locked();
} }
......
...@@ -69,7 +69,7 @@ u8 dim_startup(void *dim_base_address, u32 mlb_clock); ...@@ -69,7 +69,7 @@ u8 dim_startup(void *dim_base_address, u32 mlb_clock);
void dim_shutdown(void); void dim_shutdown(void);
bool DIM_GetLockState(void); bool dim_get_lock_state(void);
u16 DIM_NormCtrlAsyncBufferSize(u16 buf_size); u16 DIM_NormCtrlAsyncBufferSize(u16 buf_size);
......
...@@ -128,7 +128,7 @@ bool dim2_sysfs_get_state_cb(void) ...@@ -128,7 +128,7 @@ bool dim2_sysfs_get_state_cb(void)
unsigned long flags; unsigned long flags;
spin_lock_irqsave(&dim_lock, flags); spin_lock_irqsave(&dim_lock, flags);
state = DIM_GetLockState(); state = dim_get_lock_state();
spin_unlock_irqrestore(&dim_lock, flags); spin_unlock_irqrestore(&dim_lock, flags);
return state; return state;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment