Commit 055f1d12 authored by Andrey Shvetsov's avatar Andrey Shvetsov Committed by Greg Kroah-Hartman

staging: most: hdm-dim2: rename function

This patch renames the function dim_service_irq. It subsitutes the name
with the more suitable identifier dim_service_ahb_int_irq.
Signed-off-by: default avatarAndrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 52076fe2
...@@ -826,7 +826,7 @@ u8 dim_destroy_channel(struct dim_channel *ch) ...@@ -826,7 +826,7 @@ u8 dim_destroy_channel(struct dim_channel *ch)
return DIM_NO_ERROR; return DIM_NO_ERROR;
} }
void dim_service_irq(struct dim_channel *const *channels) void dim_service_ahb_int_irq(struct dim_channel *const *channels)
{ {
bool state_changed; bool state_changed;
......
...@@ -87,7 +87,7 @@ u8 dim_init_sync(struct dim_channel *ch, u8 is_tx, u16 ch_address, ...@@ -87,7 +87,7 @@ u8 dim_init_sync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
u8 dim_destroy_channel(struct dim_channel *ch); u8 dim_destroy_channel(struct dim_channel *ch);
void dim_service_irq(struct dim_channel *const *channels); void dim_service_ahb_int_irq(struct dim_channel *const *channels);
u8 dim_service_channel(struct dim_channel *ch); u8 dim_service_channel(struct dim_channel *ch);
......
...@@ -447,7 +447,7 @@ static irqreturn_t dim2_ahb_isr(int irq, void *_dev) ...@@ -447,7 +447,7 @@ static irqreturn_t dim2_ahb_isr(int irq, void *_dev)
unsigned long flags; unsigned long flags;
spin_lock_irqsave(&dim_lock, flags); spin_lock_irqsave(&dim_lock, flags);
dim_service_irq(get_active_channels(dev, buffer)); dim_service_ahb_int_irq(get_active_channels(dev, buffer));
spin_unlock_irqrestore(&dim_lock, flags); spin_unlock_irqrestore(&dim_lock, flags);
dim2_tasklet.data = (unsigned long)dev; dim2_tasklet.data = (unsigned long)dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment