diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-12-06 04:19:36 -0500 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-12-17 02:26:24 -0500 |
commit | 9e89a1526a9c23ce81584a0b612174342c611e47 (patch) | |
tree | 4e7dc05e9cd6a95d9508eebebf8b73241649697e | |
parent | 71645e65729f0c5aef8dccf961c97fa766835bd4 (diff) |
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>
-rw-r--r-- | drivers/misc/cardreader/alcor_pci.c | 4 |
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, | |||
105 | while (1) { | 105 | while (1) { |
106 | pci_read_config_dword(pci, where, &val32); | 106 | pci_read_config_dword(pci, where, &val32); |
107 | if (val32 == 0xffffffff) { | 107 | if (val32 == 0xffffffff) { |
108 | dev_dbg(priv->dev, "find_cap_offset invailid value %x.\n", | 108 | dev_dbg(priv->dev, "find_cap_offset invalid value %x.\n", |
109 | val32); | 109 | val32); |
110 | return 0; | 110 | return 0; |
111 | } | 111 | } |
@@ -116,7 +116,7 @@ static int alcor_pci_find_cap_offset(struct alcor_pci_priv *priv, | |||
116 | } | 116 | } |
117 | 117 | ||
118 | if ((val32 & 0xff00) == 0x00) { | 118 | if ((val32 & 0xff00) == 0x00) { |
119 | dev_dbg(priv->dev, "pci_find_cap_offset invailid value %x.\n", | 119 | dev_dbg(priv->dev, "pci_find_cap_offset invalid value %x.\n", |
120 | val32); | 120 | val32); |
121 | break; | 121 | break; |
122 | } | 122 | } |