Commit 9e89a152 authored by Colin Ian King's avatar Colin Ian King Committed by Ulf Hansson

misc: alcor_pci: fix spelling mistake "invailid" -> "invalid"

There are spelling mistakes in a couple of dev_dbg messages, fix these.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarOleksij Rempel <linux@rempel-privat.de>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 71645e65
...@@ -105,7 +105,7 @@ static int alcor_pci_find_cap_offset(struct alcor_pci_priv *priv, ...@@ -105,7 +105,7 @@ static int alcor_pci_find_cap_offset(struct alcor_pci_priv *priv,
while (1) { while (1) {
pci_read_config_dword(pci, where, &val32); pci_read_config_dword(pci, where, &val32);
if (val32 == 0xffffffff) { if (val32 == 0xffffffff) {
dev_dbg(priv->dev, "find_cap_offset invailid value %x.\n", dev_dbg(priv->dev, "find_cap_offset invalid value %x.\n",
val32); val32);
return 0; return 0;
} }
...@@ -116,7 +116,7 @@ static int alcor_pci_find_cap_offset(struct alcor_pci_priv *priv, ...@@ -116,7 +116,7 @@ static int alcor_pci_find_cap_offset(struct alcor_pci_priv *priv,
} }
if ((val32 & 0xff00) == 0x00) { if ((val32 & 0xff00) == 0x00) {
dev_dbg(priv->dev, "pci_find_cap_offset invailid value %x.\n", dev_dbg(priv->dev, "pci_find_cap_offset invalid value %x.\n",
val32); val32);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment