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

staging: most: rename DIM_Shutdown to dim_shutdown

This patch renames DIM_Shutdown to dim_shutdown to avoid camelcase
found by checkpatch.

CHECK: Avoid CamelCase: <DIM_Shutdown>
FILE: drivers/staging/most/hdm-dim2/dim2_hal.c:676:
Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6417267f
...@@ -673,7 +673,7 @@ u8 dim_startup(void *dim_base_address, u32 mlb_clock) ...@@ -673,7 +673,7 @@ u8 dim_startup(void *dim_base_address, u32 mlb_clock)
return DIM_NO_ERROR; return DIM_NO_ERROR;
} }
void DIM_Shutdown(void) void dim_shutdown(void)
{ {
g.dim_is_initialized = false; g.dim_is_initialized = false;
dim2_cleanup(); dim2_cleanup();
......
...@@ -67,7 +67,7 @@ struct dim_channel { ...@@ -67,7 +67,7 @@ struct dim_channel {
u8 dim_startup(void *dim_base_address, u32 mlb_clock); u8 dim_startup(void *dim_base_address, u32 mlb_clock);
void DIM_Shutdown(void); void dim_shutdown(void);
bool DIM_GetLockState(void); bool DIM_GetLockState(void);
......
...@@ -883,7 +883,7 @@ static int dim2_remove(struct platform_device *pdev) ...@@ -883,7 +883,7 @@ static int dim2_remove(struct platform_device *pdev)
unsigned long flags; unsigned long flags;
spin_lock_irqsave(&dim_lock, flags); spin_lock_irqsave(&dim_lock, flags);
DIM_Shutdown(); dim_shutdown();
spin_unlock_irqrestore(&dim_lock, flags); spin_unlock_irqrestore(&dim_lock, flags);
if (pdata && pdata->destroy) if (pdata && pdata->destroy)
......
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