Skip to content

Commit b13b41c

Browse files
Jiri Slaby (SUSE)gregkh
authored andcommitted
misc: ti_fpc202: Switch to of_fwnode_handle()
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)" <[email protected]> Fixes: 1e5c9b1 ("misc: add FPC202 dual port controller driver") Reviewed-by: Romain Gantois <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Wolfram Sang <[email protected]> Reviewed-by: Wolfram Sang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 335fb3d commit b13b41c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/misc/ti_fpc202.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ static int fpc202_probe_port(struct fpc202_priv *priv, struct device_node *i2c_h
284284

285285
desc.chan_id = port_id;
286286
desc.parent = dev;
287-
desc.bus_handle = of_node_to_fwnode(i2c_handle);
287+
desc.bus_handle = of_fwnode_handle(i2c_handle);
288288
desc.num_aliases = FPC202_ALIASES_PER_PORT;
289289

290290
fpc202_fill_alias_table(priv->client, aliases, port_id);

0 commit comments

Comments
 (0)