aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/most
diff options
context:
space:
mode:
authorAndrey Shvetsov <andrey.shvetsov@k2l.de>2016-10-04 17:10:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-16 10:25:11 +0200
commiteefb2a845ca944f28ec891d0090cdbaf0e0ee73e (patch)
tree806c22b258c1f369058bb6fd375f62dadd88eeb3 /drivers/staging/most
parentstaging: most: core: remove processing of deprecated names (diff)
downloadlinux-dev-eefb2a845ca944f28ec891d0090cdbaf0e0ee73e.tar.xz
linux-dev-eefb2a845ca944f28ec891d0090cdbaf0e0ee73e.zip
staging: most: core: update examples on how to link channels
This patch updates the comments with examples on how to use the "add_link" and "remove_link" properties. 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>
Diffstat (limited to 'drivers/staging/most')
-rw-r--r--drivers/staging/most/mostcore/core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/most/mostcore/core.c b/drivers/staging/most/mostcore/core.c
index 835a5871fa6d..4c580d1a6a46 100644
--- a/drivers/staging/most/mostcore/core.c
+++ b/drivers/staging/most/mostcore/core.c
@@ -960,8 +960,8 @@ most_c_obj *get_channel_by_name(char *mdev, char *mdev_ch)
* Searches for a pair of device and channel and probes the AIM
*
* Example:
- * (1) echo -n -e "mdev0:ch6:my_rxchannel\n" >add_link
- * (2) echo -n -e "mdev1:ep81\n" >add_link
+ * (1) echo "mdev0:ch6:my_rxchannel" >add_link
+ * (2) echo "mdev1:ep81" >add_link
*
* (1) would create the device node /dev/my_rxchannel
* (2) would create the device node /dev/mdev1-ep81
@@ -1026,7 +1026,7 @@ static struct most_aim_attribute most_aim_attr_add_link =
* @len: buffer length
*
* Example:
- * echo -n -e "mdev0:ep81\n" >remove_link
+ * echo "mdev0:ep81" >remove_link
*/
static ssize_t store_remove_link(struct most_aim_obj *aim_obj,
struct most_aim_attribute *attr,