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

staging: most: rename DIM_Startup to dim_startup

This patch renames DIM_Startup to dim_startup to avoid camelcase
found by checkpatch.

CHECK: Avoid CamelCase: <DIM_Startup>
FILE: drivers/staging/most/hdm-dim2/dim2_hal.c:653:
Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3c707542
...@@ -650,7 +650,7 @@ static bool channel_detach_buffers(struct dim_channel *ch, u16 buffers_number) ...@@ -650,7 +650,7 @@ static bool channel_detach_buffers(struct dim_channel *ch, u16 buffers_number)
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* API */ /* API */
u8 DIM_Startup(void *dim_base_address, u32 mlb_clock) u8 dim_startup(void *dim_base_address, u32 mlb_clock)
{ {
g.dim_is_initialized = false; g.dim_is_initialized = false;
......
...@@ -65,7 +65,7 @@ struct dim_channel { ...@@ -65,7 +65,7 @@ struct dim_channel {
u16 done_sw_buffers_number; /*< Done software buffers number. */ u16 done_sw_buffers_number; /*< Done software buffers number. */
}; };
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);
......
...@@ -212,9 +212,9 @@ static int startup_dim(struct platform_device *pdev) ...@@ -212,9 +212,9 @@ static int startup_dim(struct platform_device *pdev)
return ret; return ret;
} }
hal_ret = DIM_Startup(dev->io_base, dev->clk_speed); hal_ret = dim_startup(dev->io_base, dev->clk_speed);
if (hal_ret != DIM_NO_ERROR) { if (hal_ret != DIM_NO_ERROR) {
pr_err("DIM_Startup failed: %d\n", hal_ret); pr_err("dim_startup failed: %d\n", hal_ret);
if (pdata && pdata->destroy) if (pdata && pdata->destroy)
pdata->destroy(pdata); pdata->destroy(pdata);
return -ENODEV; return -ENODEV;
......
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