* [PATCH] pinctrl/nuvoton: Use 'unsigned int' instead of just 'unsigned'.
@ 2022-08-25 12:41 ` Jilin Yuan
0 siblings, 0 replies; 4+ messages in thread
From: Jilin Yuan @ 2022-08-25 12:41 UTC (permalink / raw)
To: linus.walleij, avifishman70, tmaimon77, tali.perry1, venture,
yuenn, benjaminfair
Cc: openbmc, linux-gpio, linux-kernel, Jilin Yuan
'unsigned int' should be clearer than 'unsigned'.
Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c b/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
index 64d8a568b3db..1c4e89b046de 100644
--- a/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
+++ b/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
@@ -81,11 +81,11 @@ struct npcm7xx_gpio {
int irq;
struct irq_chip irq_chip;
u32 pinctrl_id;
- int (*direction_input)(struct gpio_chip *chip, unsigned offset);
- int (*direction_output)(struct gpio_chip *chip, unsigned offset,
+ int (*direction_input)(struct gpio_chip *chip, unsigned int offset);
+ int (*direction_output)(struct gpio_chip *chip, unsigned int offset,
int value);
- int (*request)(struct gpio_chip *chip, unsigned offset);
- void (*free)(struct gpio_chip *chip, unsigned offset);
+ int (*request)(struct gpio_chip *chip, unsigned int offset);
+ void (*free)(struct gpio_chip *chip, unsigned int offset);
};
struct npcm7xx_pinctrl {
--
2.36.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] pinctrl/nuvoton: Use 'unsigned int' instead of just 'unsigned'.
@ 2022-08-25 12:41 ` Jilin Yuan
0 siblings, 0 replies; 4+ messages in thread
From: Jilin Yuan @ 2022-08-25 12:41 UTC (permalink / raw)
To: linus.walleij, avifishman70, tmaimon77, tali.perry1, venture,
yuenn, benjaminfair
Cc: linux-gpio, openbmc, Jilin Yuan, linux-kernel
'unsigned int' should be clearer than 'unsigned'.
Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c b/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
index 64d8a568b3db..1c4e89b046de 100644
--- a/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
+++ b/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
@@ -81,11 +81,11 @@ struct npcm7xx_gpio {
int irq;
struct irq_chip irq_chip;
u32 pinctrl_id;
- int (*direction_input)(struct gpio_chip *chip, unsigned offset);
- int (*direction_output)(struct gpio_chip *chip, unsigned offset,
+ int (*direction_input)(struct gpio_chip *chip, unsigned int offset);
+ int (*direction_output)(struct gpio_chip *chip, unsigned int offset,
int value);
- int (*request)(struct gpio_chip *chip, unsigned offset);
- void (*free)(struct gpio_chip *chip, unsigned offset);
+ int (*request)(struct gpio_chip *chip, unsigned int offset);
+ void (*free)(struct gpio_chip *chip, unsigned int offset);
};
struct npcm7xx_pinctrl {
--
2.36.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] pinctrl/nuvoton: Use 'unsigned int' instead of just 'unsigned'.
2022-08-25 12:41 ` Jilin Yuan
@ 2022-08-26 13:46 ` Linus Walleij
-1 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2022-08-26 13:46 UTC (permalink / raw)
To: Jilin Yuan
Cc: avifishman70, tmaimon77, tali.perry1, venture, yuenn,
benjaminfair, openbmc, linux-gpio, linux-kernel
On Thu, Aug 25, 2022 at 2:41 PM Jilin Yuan <yuanjilin@cdjrlc.com> wrote:
> 'unsigned int' should be clearer than 'unsigned'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] pinctrl/nuvoton: Use 'unsigned int' instead of just 'unsigned'.
@ 2022-08-26 13:46 ` Linus Walleij
0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2022-08-26 13:46 UTC (permalink / raw)
To: Jilin Yuan
Cc: benjaminfair, linux-gpio, avifishman70, venture, openbmc,
linux-kernel, tali.perry1, tmaimon77
On Thu, Aug 25, 2022 at 2:41 PM Jilin Yuan <yuanjilin@cdjrlc.com> wrote:
> 'unsigned int' should be clearer than 'unsigned'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-08-31 1:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25 12:41 [PATCH] pinctrl/nuvoton: Use 'unsigned int' instead of just 'unsigned' Jilin Yuan
2022-08-25 12:41 ` Jilin Yuan
2022-08-26 13:46 ` Linus Walleij
2022-08-26 13:46 ` Linus Walleij
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.