summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-10-26 14:20:48 -0500
committerJohn Klug <john.klug@multitech.com>2018-10-26 14:20:48 -0500
commit4b3420a6f20f7c02e01259f1f696fe21957ceac5 (patch)
tree62b054ad26d64786a9977126ac8594689952bbd4
parent3b9a137cd0a9b2b11924fdbdfec01121fe65fafd (diff)
downloadmtac-lora-4b3420a6f20f7c02e01259f1f696fe21957ceac5.tar.gz
mtac-lora-4b3420a6f20f7c02e01259f1f696fe21957ceac5.tar.bz2
mtac-lora-4b3420a6f20f7c02e01259f1f696fe21957ceac5.zip
Fix description and excessive log info messages.1.1.1
-rw-r--r--mtac_lora.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mtac_lora.c b/mtac_lora.c
index d14b192..74224d4 100644
--- a/mtac_lora.c
+++ b/mtac_lora.c
@@ -1,6 +1,6 @@
-#define DRIVER_VERSION "v1.1.0"
+#define DRIVER_VERSION "v1.1.1"
#define DRIVER_AUTHOR "John Klug <john.klug@multitech.com>"
-#define DRIVER_DESC "MTS Multi-Fuction Serial Accessory Card"
+#define DRIVER_DESC "MTS LoRa Accessory Card"
#define DRIVER_NAME "mtac-lora"
#define DEBUG 0
@@ -223,7 +223,7 @@ static bool lora_setup(enum ap port) {
if (ret) {
log_error("failed to link [%s] to [%s], %d", buf, subdir->name, ret);
} else
- log_info("created link [%s] to [%s], success:%d", buf, subdir->name, ret);
+ log_debug("created link [%s] to [%s], success:%d", buf, subdir->name, ret);
// hw_version string length, null character not counted.
@@ -347,11 +347,11 @@ static bool lora_teardown(enum ap port) {
log_debug("Free attribute %p",p);
kfree(p);
}
- log_info("kfree %p",attrs);
+ log_debug("kfree %p",attrs);
kfree(attrs);
}
// clean up our "apX/" kobject if it exists
- log_info("free up directories");
+ log_debug("free up directories");
if (mtac_port_info[port_index]->subdirs) {
log_debug("Free subdirs %p",mtac_port_info[port_index]->subdirs);
kobject_put(mtac_port_info[port_index]->subdirs);