* [PATCH v1 1/1] pinctrl: microchip-sgpio: Switch to use fwnode instead of of_node
@ 2022-05-03 15:15 ` Andy Shevchenko
0 siblings, 0 replies; 4+ messages in thread
From: Andy Shevchenko @ 2022-05-03 15:15 UTC (permalink / raw)
To: Linus Walleij, Michael Walle, linux-arm-kernel, linux-gpio, linux-kernel
Cc: Lars Povlsen, Steen Hegelund, UNGLinuxDriver, Andy Shevchenko
GPIO library now accepts fwnode as a firmware node, so
switch the driver to use it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/pinctrl/pinctrl-microchip-sgpio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-microchip-sgpio.c b/drivers/pinctrl/pinctrl-microchip-sgpio.c
index 80a8939ad0c0..71367ed04082 100644
--- a/drivers/pinctrl/pinctrl-microchip-sgpio.c
+++ b/drivers/pinctrl/pinctrl-microchip-sgpio.c
@@ -840,7 +840,7 @@ static int microchip_sgpio_register_bank(struct device *dev,
gc = &bank->gpio;
gc->label = pctl_desc->name;
gc->parent = dev;
- gc->of_node = to_of_node(fwnode);
+ gc->fwnode = fwnode;
gc->owner = THIS_MODULE;
gc->get_direction = microchip_sgpio_get_direction;
gc->direction_input = microchip_sgpio_direction_input;
--
2.35.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v1 1/1] pinctrl: microchip-sgpio: Switch to use fwnode instead of of_node
@ 2022-05-03 15:15 ` Andy Shevchenko
0 siblings, 0 replies; 4+ messages in thread
From: Andy Shevchenko @ 2022-05-03 15:15 UTC (permalink / raw)
To: Linus Walleij, Michael Walle, linux-arm-kernel, linux-gpio, linux-kernel
Cc: Lars Povlsen, Steen Hegelund, UNGLinuxDriver, Andy Shevchenko
GPIO library now accepts fwnode as a firmware node, so
switch the driver to use it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/pinctrl/pinctrl-microchip-sgpio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-microchip-sgpio.c b/drivers/pinctrl/pinctrl-microchip-sgpio.c
index 80a8939ad0c0..71367ed04082 100644
--- a/drivers/pinctrl/pinctrl-microchip-sgpio.c
+++ b/drivers/pinctrl/pinctrl-microchip-sgpio.c
@@ -840,7 +840,7 @@ static int microchip_sgpio_register_bank(struct device *dev,
gc = &bank->gpio;
gc->label = pctl_desc->name;
gc->parent = dev;
- gc->of_node = to_of_node(fwnode);
+ gc->fwnode = fwnode;
gc->owner = THIS_MODULE;
gc->get_direction = microchip_sgpio_get_direction;
gc->direction_input = microchip_sgpio_direction_input;
--
2.35.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v1 1/1] pinctrl: microchip-sgpio: Switch to use fwnode instead of of_node
2022-05-03 15:15 ` Andy Shevchenko
@ 2022-05-09 11:48 ` Linus Walleij
-1 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2022-05-09 11:48 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Michael Walle, linux-arm-kernel, linux-gpio, linux-kernel,
Lars Povlsen, Steen Hegelund, UNGLinuxDriver
On Tue, May 3, 2022 at 5:15 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> GPIO library now accepts fwnode as a firmware node, so
> switch the driver to use it.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1 1/1] pinctrl: microchip-sgpio: Switch to use fwnode instead of of_node
@ 2022-05-09 11:48 ` Linus Walleij
0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2022-05-09 11:48 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Michael Walle, linux-arm-kernel, linux-gpio, linux-kernel,
Lars Povlsen, Steen Hegelund, UNGLinuxDriver
On Tue, May 3, 2022 at 5:15 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> GPIO library now accepts fwnode as a firmware node, so
> switch the driver to use it.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Patch applied.
Yours,
Linus Walleij
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-05-09 11:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-03 15:15 [PATCH v1 1/1] pinctrl: microchip-sgpio: Switch to use fwnode instead of of_node Andy Shevchenko
2022-05-03 15:15 ` Andy Shevchenko
2022-05-09 11:48 ` Linus Walleij
2022-05-09 11:48 ` 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.