summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2017-11-21 15:05:04 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-27 09:20:36 +0100
commitdb09fe0d3ab0bada23cb7a0be991a158a8fc5dcc (patch)
tree94e02485311af1b2bf0777551f095b6ecc77e4cc /drivers
parent5a5abf0200703f0148e04471e9fbe170d23be4ad (diff)
staging: most: core: rename function link_channel_to_aim
This patch renames the function link_channel_to_aim to link_channel_to_component. It is needed because userspace interfacing modules are referred to as components. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/most/core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/most/core.c b/drivers/staging/most/core.c
index ebfa97c504a2..174c88a4bd9e 100644
--- a/drivers/staging/most/core.c
+++ b/drivers/staging/most/core.c
@@ -661,9 +661,9 @@ static struct most_channel *get_channel(char *mdev, char *mdev_ch)
}
static
-inline int link_channel_to_aim(struct most_channel *c,
- struct core_component *comp,
- char *comp_param)
+inline int link_channel_to_component(struct most_channel *c,
+ struct core_component *comp,
+ char *comp_param)
{
int ret;
struct core_component **comp_ptr;
@@ -739,7 +739,7 @@ static ssize_t add_link_store(struct device_driver *drv,
if (!c)
return -ENODEV;
- ret = link_channel_to_aim(c, comp, comp_param);
+ ret = link_channel_to_component(c, comp, comp_param);
if (ret)
return ret;