summaryrefslogtreecommitdiffstats
path: root/drivers/staging/most/cdev/cdev.c
diff options
context:
space:
mode:
authorChristian Gromm2017-11-21 15:05:00 +0100
committerGreg Kroah-Hartman2017-11-27 09:20:35 +0100
commita12844410c4350305b9ae1c1e0c5d6bd87297e6b (patch)
tree860ce2e0beed7f2546273b47cb256d676d093448 /drivers/staging/most/cdev/cdev.c
parentstaging: most: usb: remove pointer initialization (diff)
downloadkernel-qcow2-linux-a12844410c4350305b9ae1c1e0c5d6bd87297e6b.tar.gz
kernel-qcow2-linux-a12844410c4350305b9ae1c1e0c5d6bd87297e6b.tar.xz
kernel-qcow2-linux-a12844410c4350305b9ae1c1e0c5d6bd87297e6b.zip
staging: most: rename struct most_aim
The designator of a module that proivdes means to interface userspace is called an AIM. Since this name seems to be unappropiate, this kind of moduels are going to be referred to as componetns. This is done because such modules function as components to enhance the core with new features. This patch renames the struct most_aim to core_component. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/cdev/cdev.c')
-rw-r--r--drivers/staging/most/cdev/cdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/most/cdev/cdev.c b/drivers/staging/most/cdev/cdev.c
index cd23db574d5f..a45a4dcbeb9b 100644
--- a/drivers/staging/most/cdev/cdev.c
+++ b/drivers/staging/most/cdev/cdev.c
@@ -22,7 +22,7 @@ static dev_t aim_devno;
static struct class *aim_class;
static struct ida minor_id;
static unsigned int major;
-static struct most_aim cdev_aim;
+static struct core_component cdev_aim;
struct aim_channel {
wait_queue_head_t wq;
@@ -489,7 +489,7 @@ error_alloc_channel:
return retval;
}
-static struct most_aim cdev_aim = {
+static struct core_component cdev_aim = {
.name = "cdev",
.probe_channel = aim_probe,
.disconnect_channel = aim_disconnect_channel,