Commit db09fe0d authored by Christian Gromm's avatar Christian Gromm Committed by Greg Kroah-Hartman

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: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5a5abf02
...@@ -661,9 +661,9 @@ static struct most_channel *get_channel(char *mdev, char *mdev_ch) ...@@ -661,9 +661,9 @@ static struct most_channel *get_channel(char *mdev, char *mdev_ch)
} }
static static
inline int link_channel_to_aim(struct most_channel *c, inline int link_channel_to_component(struct most_channel *c,
struct core_component *comp, struct core_component *comp,
char *comp_param) char *comp_param)
{ {
int ret; int ret;
struct core_component **comp_ptr; struct core_component **comp_ptr;
...@@ -739,7 +739,7 @@ static ssize_t add_link_store(struct device_driver *drv, ...@@ -739,7 +739,7 @@ static ssize_t add_link_store(struct device_driver *drv,
if (!c) if (!c)
return -ENODEV; return -ENODEV;
ret = link_channel_to_aim(c, comp, comp_param); ret = link_channel_to_component(c, comp, comp_param);
if (ret) if (ret)
return ret; return ret;
......
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