* [PATCH -resend] misc: ti_fpc202: Switch to of_fwnode_handle()
@ 2025-07-23 5:35 Jiri Slaby (SUSE)
2025-07-23 5:49 ` Wolfram Sang
0 siblings, 1 reply; 5+ messages in thread
From: Jiri Slaby (SUSE) @ 2025-07-23 5:35 UTC (permalink / raw)
To: wsa+renesas
Cc: linux-kernel, tglx, Jiri Slaby (SUSE), Romain Gantois,
Arnd Bergmann, Greg Kroah-Hartman
of_node_to_fwnode() is an irqdomain's reimplementation of the
"officially" defined of_fwnode_handle(). The former is in the process of
being removed, so use the latter instead.
This is the last in-tree user.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Fixes: 1e5c9b1efa1c ("misc: add FPC202 dual port controller driver")
Reviewed-by: Romain Gantois <romain.gantois@bootlin.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
drivers/misc/ti_fpc202.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/ti_fpc202.c b/drivers/misc/ti_fpc202.c
index f84cae50e2c9..0b1a6350c02b 100644
--- a/drivers/misc/ti_fpc202.c
+++ b/drivers/misc/ti_fpc202.c
@@ -281,7 +281,7 @@ static int fpc202_probe_port(struct fpc202_priv *priv, struct device_node *i2c_h
desc.chan_id = port_id;
desc.parent = dev;
- desc.bus_handle = of_node_to_fwnode(i2c_handle);
+ desc.bus_handle = of_fwnode_handle(i2c_handle);
desc.num_aliases = FPC202_ALIASES_PER_PORT;
fpc202_fill_alias_table(priv->client, aliases, port_id);
--
2.50.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH -resend] misc: ti_fpc202: Switch to of_fwnode_handle()
2025-07-23 5:35 [PATCH -resend] misc: ti_fpc202: Switch to of_fwnode_handle() Jiri Slaby (SUSE)
@ 2025-07-23 5:49 ` Wolfram Sang
2025-07-23 6:04 ` Jiri Slaby
0 siblings, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2025-07-23 5:49 UTC (permalink / raw)
To: Jiri Slaby (SUSE)
Cc: linux-kernel, tglx, Romain Gantois, Arnd Bergmann,
Greg Kroah-Hartman
[-- Attachment #1: Type: text/plain, Size: 700 bytes --]
On Wed, Jul 23, 2025 at 07:35:16AM +0200, Jiri Slaby (SUSE) wrote:
> of_node_to_fwnode() is an irqdomain's reimplementation of the
> "officially" defined of_fwnode_handle(). The former is in the process of
> being removed, so use the latter instead.
>
> This is the last in-tree user.
>
> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
> Fixes: 1e5c9b1efa1c ("misc: add FPC202 dual port controller driver")
> Reviewed-by: Romain Gantois <romain.gantois@bootlin.com>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH -resend] misc: ti_fpc202: Switch to of_fwnode_handle()
2025-07-23 5:49 ` Wolfram Sang
@ 2025-07-23 6:04 ` Jiri Slaby
2025-07-23 6:15 ` Wolfram Sang
0 siblings, 1 reply; 5+ messages in thread
From: Jiri Slaby @ 2025-07-23 6:04 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-kernel, tglx, Romain Gantois, Arnd Bergmann,
Greg Kroah-Hartman
On 23. 07. 25, 7:49, Wolfram Sang wrote:
> On Wed, Jul 23, 2025 at 07:35:16AM +0200, Jiri Slaby (SUSE) wrote:
>> of_node_to_fwnode() is an irqdomain's reimplementation of the
>> "officially" defined of_fwnode_handle(). The former is in the process of
>> being removed, so use the latter instead.
>>
>> This is the last in-tree user.
>>
>> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
>> Fixes: 1e5c9b1efa1c ("misc: add FPC202 dual port controller driver")
>> Reviewed-by: Romain Gantois <romain.gantois@bootlin.com>
>> Cc: Arnd Bergmann <arnd@arndb.de>
>> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
>
> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Well, who is supposed to pick this up? I thought you.
But given you marked it as such -- Greg?
thanks,
--
js
suse labs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH -resend] misc: ti_fpc202: Switch to of_fwnode_handle()
2025-07-23 6:04 ` Jiri Slaby
@ 2025-07-23 6:15 ` Wolfram Sang
2025-07-23 6:29 ` Greg Kroah-Hartman
0 siblings, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2025-07-23 6:15 UTC (permalink / raw)
To: Jiri Slaby
Cc: linux-kernel, tglx, Romain Gantois, Arnd Bergmann,
Greg Kroah-Hartman
[-- Attachment #1: Type: text/plain, Size: 472 bytes --]
> > Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
>
> Well, who is supposed to pick this up? I thought you.
>
> But given you marked it as such -- Greg?
Technically, yes, Greg. I took the driver together with the I2C ATR
feature because it was its first user. But other than that, it doesn't
belong to the I2C realm. That being said, I can pick this patch to help
removing the deprecated function if Greg doesn't pick it in the next
days.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH -resend] misc: ti_fpc202: Switch to of_fwnode_handle()
2025-07-23 6:15 ` Wolfram Sang
@ 2025-07-23 6:29 ` Greg Kroah-Hartman
0 siblings, 0 replies; 5+ messages in thread
From: Greg Kroah-Hartman @ 2025-07-23 6:29 UTC (permalink / raw)
To: Wolfram Sang
Cc: Jiri Slaby, linux-kernel, tglx, Romain Gantois, Arnd Bergmann
On Wed, Jul 23, 2025 at 08:15:50AM +0200, Wolfram Sang wrote:
>
> > > Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> >
> > Well, who is supposed to pick this up? I thought you.
> >
> > But given you marked it as such -- Greg?
>
> Technically, yes, Greg. I took the driver together with the I2C ATR
> feature because it was its first user. But other than that, it doesn't
> belong to the I2C realm. That being said, I can pick this patch to help
> removing the deprecated function if Greg doesn't pick it in the next
> days.
I can grab it later today, not a problem,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-07-23 6:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-23 5:35 [PATCH -resend] misc: ti_fpc202: Switch to of_fwnode_handle() Jiri Slaby (SUSE)
2025-07-23 5:49 ` Wolfram Sang
2025-07-23 6:04 ` Jiri Slaby
2025-07-23 6:15 ` Wolfram Sang
2025-07-23 6:29 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).