aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/most
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2017-11-21 15:04:48 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-27 09:20:35 +0100
commit7faeffec7f4f1a28db47dda9614010b3d7dcc48a (patch)
tree4edd4bc346e005a5b0ea65b5c4757c9a69ec19b2 /drivers/staging/most
parentstaging: most: core: rename structure (diff)
downloadlinux-dev-7faeffec7f4f1a28db47dda9614010b3d7dcc48a.tar.xz
linux-dev-7faeffec7f4f1a28db47dda9614010b3d7dcc48a.zip
staging: most: core: rename struct most_c_aim_obj to pipe
This patch replaces the confusing name of struct "most_c_aim_obj" with "pipe" to better express the function that is behind the structure. 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/core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/most/core.c b/drivers/staging/most/core.c
index 587e42f65a04..d6aee31f891f 100644
--- a/drivers/staging/most/core.c
+++ b/drivers/staging/most/core.c
@@ -31,7 +31,7 @@ static struct device core_dev;
static struct ida mdev_id;
static int dummy_num_buffers;
-struct most_c_aim_obj {
+struct pipe {
struct most_aim *ptr;
int refs;
int num_buffers;
@@ -56,8 +56,8 @@ struct most_channel {
spinlock_t fifo_lock;
struct list_head halt_fifo;
struct list_head list;
- struct most_c_aim_obj aim0;
- struct most_c_aim_obj aim1;
+ struct pipe aim0;
+ struct pipe aim1;
struct list_head trash_fifo;
struct task_struct *hdm_enqueue_task;
wait_queue_head_t hdm_fifo_wq;