Re: [PATCH 3/4] of/property: Introduce of_fwnode_name()

From: Andy Shevchenko
Date: Tue Nov 06 2018 - 10:53:58 EST


On Tue, Nov 06, 2018 at 05:05:03PM +0200, Heikki Krogerus wrote:

> Maybe it would be best to just read the "name" device property in
> fwnode_name() and not have of_fwnode_name at all.

If it's a mandatory property or somehow its presence is guaranteed, it would work.

--
With Best Regards,
Andy Shevchenko