aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Pagani <dario.pagani.146@gmail.com>2021-01-31 09:33:23 +0100
committerDario Pagani <dario.pagani.146@gmail.com>2021-01-31 09:33:23 +0100
commit45398e5721c589958f7554376e055122c361b5a3 (patch)
tree7b877612ce67f5aae30566018055eef743f195c7
parente4fe2b447962d41f8c49c0f115517df598734141 (diff)
downloadhid-tminit-45398e5721c589958f7554376e055122c361b5a3.tar.gz
hid-tminit-45398e5721c589958f7554376e055122c361b5a3.zip
Typos
-rw-r--r--hid-tminit.c2
-rw-r--r--hid-tminit.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/hid-tminit.c b/hid-tminit.c
index bffd4a5..71cc0ab 100644
--- a/hid-tminit.c
+++ b/hid-tminit.c
@@ -97,7 +97,7 @@ static void tminit_model_handler(struct urb *urb)
else if (tm_wheel->response->type == cpu_to_le16(0x47))
model = le16_to_cpu(tm_wheel->response->data.b.model);
else {
- hid_err(hdev, "Unknow packet type 0x%x, unable to proceed further with wheel init\n", tm_wheel->response->type);
+ hid_err(hdev, "Unknown packet type 0x%x, unable to proceed further with wheel init\n", tm_wheel->response->type);
return;
}
diff --git a/hid-tminit.h b/hid-tminit.h
index 1273714..04d55df 100644
--- a/hid-tminit.h
+++ b/hid-tminit.h
@@ -21,7 +21,7 @@ static const unsigned int setup_arr_sizes[] = {
* Thrustmaster wheel
*
* Note: The values are stored in the CPU
- * endianess, the USB protocols always use
+ * endianness, the USB protocols always use
* little endian; the macro cpu_to_le[BIT]()
* must be used when preparing USB packets
* and vice-versa