summaryrefslogtreecommitdiffstats
path: root/drivers/misc/cardreader/alcor_pci.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-12-06 09:19:36 +0000
committerUlf Hansson <ulf.hansson@linaro.org>2018-12-17 08:26:24 +0100
commit9e89a1526a9c23ce81584a0b612174342c611e47 (patch)
tree4e7dc05e9cd6a95d9508eebebf8b73241649697e /drivers/misc/cardreader/alcor_pci.c
parent71645e65729f0c5aef8dccf961c97fa766835bd4 (diff)
downloadblackbird-op-linux-9e89a1526a9c23ce81584a0b612174342c611e47.tar.gz
blackbird-op-linux-9e89a1526a9c23ce81584a0b612174342c611e47.zip
misc: alcor_pci: fix spelling mistake "invailid" -> "invalid"
There are spelling mistakes in a couple of dev_dbg messages, fix these. Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/misc/cardreader/alcor_pci.c')
-rw-r--r--drivers/misc/cardreader/alcor_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/cardreader/alcor_pci.c b/drivers/misc/cardreader/alcor_pci.c
index 6872b8e29b4d..bcb10fa4bc3a 100644
--- a/drivers/misc/cardreader/alcor_pci.c
+++ b/drivers/misc/cardreader/alcor_pci.c
@@ -105,7 +105,7 @@ static int alcor_pci_find_cap_offset(struct alcor_pci_priv *priv,
while (1) {
pci_read_config_dword(pci, where, &val32);
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);
return 0;
}
@@ -116,7 +116,7 @@ static int alcor_pci_find_cap_offset(struct alcor_pci_priv *priv,
}
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);
break;
}
OpenPOWER on IntegriCloud