Skip to content

Commit

Permalink
staging: most: rename DIM_ServiceIrq to dim_service_irq
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chaehyun Lim authored and Greg Kroah-Hartman committed Nov 16, 2015
1 parent a5e4d89 commit e5baa9e
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
@@ -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;

2 changes: 1 addition & 1 deletion drivers/staging/most/hdm-dim2/dim2_hal.h
Original file line number Diff line number Diff line change
@@ -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);

2 changes: 1 addition & 1 deletion drivers/staging/most/hdm-dim2/dim2_hdm.c
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit e5baa9e

Please sign in to comment.