From: Christian Gromm Date: Tue, 21 Nov 2017 14:05:04 +0000 (+0100) Subject: staging: most: core: rename function link_channel_to_aim X-Git-Tag: v4.19~1691^2~555 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db09fe0d3ab0bada23cb7a0be991a158a8fc5dcc;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/most/core.c b/drivers/staging/most/core.c index ebfa97c..174c88a 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;