Skip to content

Commit

Permalink
staging: most: rename DIM_ServiceChannel to dim_service_channel
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chaehyun Lim authored and Greg Kroah-Hartman committed Nov 16, 2015
1 parent e5baa9e commit 0d08d54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/most/hdm-dim2/dim2_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/most/hdm-dim2/dim2_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/most/hdm-dim2/dim2_hdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0d08d54

Please sign in to comment.