Re: [PATCH v10 3/9] drm/display: Add Type-C switch helpers
From: Andy Shevchenko
Date: Fri Jan 13 2023 - 11:58:33 EST
On Fri, Jan 13, 2023 at 11:23:44AM +0200, Heikki Krogerus wrote:
> On Thu, Jan 12, 2023 at 12:20:58PM +0800, Pin-yen Lin wrote:
...
> > + dev_err(dev, "Failed to read the data-lanes variable from %s: %d\n",
> > + node->name, ret);
>
> fwnode_get_name(fwnode), ret);
Or even %pfwP ?
...
> > + snprintf(name, sizeof(name), "%s-%u", node->name, port_num);
>
> snprintf(name, sizeof(name), "%s-%u", fwnode_get_name(fwnode), port_num);
Ditto.
--
With Best Regards,
Andy Shevchenko