Re: [PATCH v3 3/3] of/property: Add of_fwnode_name()

From: Andy Shevchenko
Date: Mon Nov 26 2018 - 08:05:38 EST


On Mon, Nov 26, 2018 at 02:47:52PM +0300, Heikki Krogerus wrote:
> This implements get_name fwnode op for DT.

> +static int of_fwnode_get_name(const struct fwnode_handle *fwnode, char *buf,
> + size_t len)
> +{
> + snprintf(buf, len, "%pOFn", to_of_node(fwnode));

Same concerns.

> + return 0;
> +}

--
With Best Regards,
Andy Shevchenko