diff options
author | Marc Ferland <marc.ferland@sonatest.com> | 2024-10-09 11:12:49 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-10-11 21:52:53 +0200 |
commit | d7eac9379f2198c4bd6a2e69eb8b38c82bb2fd5c (patch) | |
tree | d7acefed42883aa4cd220743efe51bf862e2948c /drivers/pinctrl/pinctrl-amd.h | |
parent | 1a075b1dcc14903ac56ec87d8cd6dfa06d54c013 (diff) | |
download | lwn-d7eac9379f2198c4bd6a2e69eb8b38c82bb2fd5c.tar.gz lwn-d7eac9379f2198c4bd6a2e69eb8b38c82bb2fd5c.zip |
pinctrl: amd: Fix two small typos
Found those two while reading the code:
EDGE_TRAGGER -> EDGE_TRIGGER
BOTH_EADGE -> BOTH_EDGES
No functional changes, compile tested only.
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Link: https://lore.kernel.org/20241009151249.2086702-1-marc.ferland@sonatest.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-amd.h')
-rw-r--r-- | drivers/pinctrl/pinctrl-amd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-amd.h b/drivers/pinctrl/pinctrl-amd.h index cf59089f2776..667be49c3f48 100644 --- a/drivers/pinctrl/pinctrl-amd.h +++ b/drivers/pinctrl/pinctrl-amd.h @@ -60,12 +60,12 @@ #define DB_TYPE_PRESERVE_HIGH_GLITCH 0x2UL #define DB_TYPE_REMOVE_GLITCH 0x3UL -#define EDGE_TRAGGER 0x0UL +#define EDGE_TRIGGER 0x0UL #define LEVEL_TRIGGER 0x1UL #define ACTIVE_HIGH 0x0UL #define ACTIVE_LOW 0x1UL -#define BOTH_EADGE 0x2UL +#define BOTH_EDGES 0x2UL #define ENABLE_INTERRUPT 0x1UL #define DISABLE_INTERRUPT 0x0UL |