[PATCH][next] HID: fix spelling mistake, "registred" -> "registered"

From: Colin King
Date: Thu Feb 22 2018 - 05:02:18 EST


From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Trivial fix to spelling mistake in hid_err error message text.

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
drivers/hid/hid-elan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hid/hid-elan.c b/drivers/hid/hid-elan.c
index 803a725785cf..52381d1beba3 100644
--- a/drivers/hid/hid-elan.c
+++ b/drivers/hid/hid-elan.c
@@ -362,7 +362,7 @@ static int elan_probe(struct hid_device *hdev, const struct hid_device_id *id)
return 0;

if (!drvdata->input) {
- hid_err(hdev, "Input device is not registred\n");
+ hid_err(hdev, "Input device is not registered\n");
ret = -ENAVAIL;
goto err;
}
--
2.15.1