staging: most: rename DIM_Shutdown to dim_shutdown
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 29 Oct 2015 07:44:12 +0000 (16:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
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: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-dim2/dim2_hal.c
drivers/staging/most/hdm-dim2/dim2_hal.h
drivers/staging/most/hdm-dim2/dim2_hdm.c

index 583506dac323c6c4e89d6d94b22c4e658f145ba6..e296adb64a1d0ab4176edfc18b538673b737975e 100644 (file)
@@ -673,7 +673,7 @@ u8 dim_startup(void *dim_base_address, u32 mlb_clock)
        return DIM_NO_ERROR;
 }
 
-void DIM_Shutdown(void)
+void dim_shutdown(void)
 {
        g.dim_is_initialized = false;
        dim2_cleanup();
index 6e1392a0e60446d240a90dd97e5909197d9166be..8b18f74c0837325c181a535bcb04b05ce5c0ad13 100644 (file)
@@ -67,7 +67,7 @@ struct dim_channel {
 
 u8 dim_startup(void *dim_base_address, u32 mlb_clock);
 
-void DIM_Shutdown(void);
+void dim_shutdown(void);
 
 bool DIM_GetLockState(void);
 
index 89e43e412c4e31fb5bfab8d10c3d61f274847486..9c99f65d5ed5a182d1f0ae3fa82b5dd044e22e99 100644 (file)
@@ -883,7 +883,7 @@ static int dim2_remove(struct platform_device *pdev)
        unsigned long flags;
 
        spin_lock_irqsave(&dim_lock, flags);
-       DIM_Shutdown();
+       dim_shutdown();
        spin_unlock_irqrestore(&dim_lock, flags);
 
        if (pdata && pdata->destroy)