staging: most: rename DIM_ServiceChannel to dim_service_channel
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 2 Nov 2015 13:59:14 +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_ServiceChannel to dim_service_channel to avoid
camelcase found by checkpatch.

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

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 4a7d7fb11bfc6853dc594c62fc6a4ffd10b80223..a96457c60f6d0c1452484e4b3f5d09074e282a14 100644 (file)
@@ -854,7 +854,7 @@ void dim_service_irq(struct dim_channel *const *channels)
        dimcb_io_write(&g.dim2->MS1, 0);
 }
 
-u8 DIM_ServiceChannel(struct dim_channel *ch)
+u8 dim_service_channel(struct dim_channel *ch)
 {
        if (!g.dim_is_initialized || !ch)
                return DIM_ERR_DRIVER_NOT_INITIALIZED;
index 6eb8da16160f43b5192d23cd26d3ca325997a5c5..f333f0adbcd2341cb37a1d7c373f5b7982b9263b 100644 (file)
@@ -93,7 +93,7 @@ u8 dim_destroy_channel(struct dim_channel *ch);
 
 void dim_service_irq(struct dim_channel *const *channels);
 
-u8 DIM_ServiceChannel(struct dim_channel *ch);
+u8 dim_service_channel(struct dim_channel *ch);
 
 struct dim_ch_state_t *DIM_GetChannelState(struct dim_channel *ch,
                struct dim_ch_state_t *dim_ch_state_ptr);
index 7767cdcda6fd97b23fb84822af12b6a8f4a2bd8d..4b5df0b06008b209bb8e68dcb0b5d3266c675389 100644 (file)
@@ -428,7 +428,7 @@ static void dim2_tasklet_fn(unsigned long data)
                        continue;
 
                spin_lock_irqsave(&dim_lock, flags);
-               DIM_ServiceChannel(&dev->hch[ch_idx].ch);
+               dim_service_channel(&dev->hch[ch_idx].ch);
                spin_unlock_irqrestore(&dim_lock, flags);
 
                service_done_flag(dev, ch_idx);