OSDN Git Service

staging: most: rename DIM_ServiceIrq to dim_service_irq
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 2 Nov 2015 13:59:13 +0000 (22:59 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames DIM_ServiceIrq to dim_service_irq to avoid camelcase
found by checkpatch.

CHECK: Avoid CamelCase: <DIM_ServiceIrq>
FILE: drivers/staging/most/hdm-dim2/dim2_hal.c:819:

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 cb92461..4a7d7fb 100644 (file)
@@ -816,7 +816,7 @@ u8 dim_destroy_channel(struct dim_channel *ch)
        return DIM_NO_ERROR;
 }
 
-void DIM_ServiceIrq(struct dim_channel *const *channels)
+void dim_service_irq(struct dim_channel *const *channels)
 {
        bool state_changed;
 
index bdde159..6eb8da1 100644 (file)
@@ -91,7 +91,7 @@ u8 dim_init_sync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
 
 u8 dim_destroy_channel(struct dim_channel *ch);
 
-void DIM_ServiceIrq(struct dim_channel *const *channels);
+void dim_service_irq(struct dim_channel *const *channels);
 
 u8 DIM_ServiceChannel(struct dim_channel *ch);
 
index 6cd6c78..7767cdc 100644 (file)
@@ -452,7 +452,7 @@ static irqreturn_t dim2_ahb_isr(int irq, void *_dev)
        unsigned long flags;
 
        spin_lock_irqsave(&dim_lock, flags);
-       DIM_ServiceIrq(get_active_channels(dev, buffer));
+       dim_service_irq(get_active_channels(dev, buffer));
        spin_unlock_irqrestore(&dim_lock, flags);
 
 #if !defined(ENABLE_HDM_TEST)