[PATCH 6/9] HSI: cmt_speech: Rename driver to cmt-speech

From: Sebastian Reichel
Date: Sun Mar 01 2015 - 23:40:16 EST


Rename driver and platform alias to cmt-speech, so that
it's consistent with the ssi-protocol driver.

Signed-off-by: Sebastian Reichel <sre@xxxxxxxxxx>
---
drivers/hsi/clients/cmt_speech.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/hsi/clients/cmt_speech.c b/drivers/hsi/clients/cmt_speech.c
index 8d9860b..52001ed 100644
--- a/drivers/hsi/clients/cmt_speech.c
+++ b/drivers/hsi/clients/cmt_speech.c
@@ -40,7 +40,6 @@
#include <linux/cs-protocol.h>

#define CS_MMAP_SIZE PAGE_SIZE
-#define DRIVER_NAME "cmt_speech"

struct char_queue {
struct list_head list;
@@ -1365,7 +1364,7 @@ static const struct file_operations cs_char_fops = {

static struct miscdevice cs_char_miscdev = {
.minor = MISC_DYNAMIC_MINOR,
- .name = DRIVER_NAME,
+ .name = "cmt_speech",
.fops = &cs_char_fops
};

@@ -1408,7 +1407,7 @@ static int cs_hsi_client_remove(struct device *dev)

static struct hsi_client_driver cs_hsi_driver = {
.driver = {
- .name = DRIVER_NAME,
+ .name = "cmt-speech",
.owner = THIS_MODULE,
.probe = cs_hsi_client_probe,
.remove = cs_hsi_client_remove,
@@ -1429,7 +1428,7 @@ static void __exit cs_char_exit(void)
}
module_exit(cs_char_exit);

-MODULE_ALIAS("hsi:cmt_speech");
+MODULE_ALIAS("hsi:cmt-speech");
MODULE_AUTHOR("Kai Vehmanen <kai.vehmanen@xxxxxxxxx>");
MODULE_AUTHOR("Peter Ujfalusi <peter.ujfalusi@xxxxxxxxx>");
MODULE_DESCRIPTION("CMT speech driver");
--
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/