summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-10-21 06:44:49 +0300
committerJoel Stanley <joel@jms.id.au>2015-10-23 07:31:48 +0300
commitd4568582a0b430002ed8550da34f2598b647c2a6 (patch)
treec795190035d3c12983feed3e6eb5920541b102cd
parent7fe8a8f5488f6f9290c98b43d911338db0424830 (diff)
downloadlinux-d4568582a0b430002ed8550da34f2598b647c2a6.tar.xz
misc/bt-host: unify device name to bt-host
We have 'bt' in a few places, 'bt-host' in others. Unify on bt-host. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r--drivers/misc/bt-host.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/bt-host.c b/drivers/misc/bt-host.c
index 6aa215e46599..90713c541c81 100644
--- a/drivers/misc/bt-host.c
+++ b/drivers/misc/bt-host.c
@@ -15,7 +15,7 @@
#include <linux/timer.h>
#include <linux/jiffies.h>
-#define DEVICE_NAME "bt"
+#define DEVICE_NAME "bt-host"
#define BT_NUM_DEVS 1
#define BT_IO_BASE 0xe4
@@ -220,7 +220,7 @@ static const struct file_operations bt_host_fops = {
static struct miscdevice bt_host_miscdev = {
.minor = MISC_DYNAMIC_MINOR,
- .name = "bt",
+ .name = DEVICE_NAME,
.fops = &bt_host_fops,
};
@@ -319,7 +319,7 @@ static const struct of_device_id bt_host_match[] = {
static struct platform_driver bt_host_driver = {
.driver = {
- .name = "bt-host",
+ .name = DEVICE_NAME,
.owner = THIS_MODULE,
.of_match_table = bt_host_match,
},