staging: most: hdm-dim2: rename function
authorAndrey Shvetsov <andrey.shvetsov@k2l.de>
Thu, 15 Sep 2016 14:19:09 +0000 (16:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2016 17:23:29 +0000 (19:23 +0200)
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: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.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 11abce7818b3bac1d98b910327bba104b301171f..1382b78c5e1b3d45637629e65a0c6cb1e9078a94 100644 (file)
@@ -826,7 +826,7 @@ u8 dim_destroy_channel(struct dim_channel *ch)
        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;
 
index 62eb5e7f81dfdac2955e39c42da2dc70d8546d18..777a56e2263589ec1b7e4384a1814fe81358ee0d 100644 (file)
@@ -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);
 
-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);
 
index 1e5ac201a933f7dc97a484cc7963cf30e66a064b..a20c9fd47a95ea28383c90e7b3b1d405d45ae966 100644 (file)
@@ -447,7 +447,7 @@ static irqreturn_t dim2_ahb_isr(int irq, void *_dev)
        unsigned long 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);
 
        dim2_tasklet.data = (unsigned long)dev;