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>
This commit is contained in:
Christian Gromm 2017-11-21 15:05:04 +01:00 коммит произвёл Greg Kroah-Hartman
Родитель 5a5abf0200
Коммит db09fe0d3a
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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;