devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] device property: Add fwnode_get_name() helper
@ 2018-11-27 14:28 Heikki Krogerus
  2018-11-27 14:28 ` [PATCH v4 1/4] device property: Introduce fwnode_get_name() Heikki Krogerus
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Heikki Krogerus @ 2018-11-27 14:28 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Mika Westerberg, Andy Shevchenko, Rob Herring, Frank Rowand,
	linux-kernel, linux-acpi, devicetree

Hi,

I'm now returning -EOVERFLOW if the buffer is not big enough as
proposed by Andy.

This is the cover letter from v3:

This is the third version of my proposal for this helper. The
second version can be checked here:
https://lkml.org/lkml/2018/11/8/1005

I'm now passing the length as proposed by both Rob and Andy. I'm also
leaving the .get_named_child_node fwnode op untouched.

--
heikki


Heikki Krogerus (4):
  device property: Introduce fwnode_get_name()
  ACPI: property: Add acpi_fwnode_name()
  of/property: Add of_fwnode_name()
  driver core: Add fwnode member to struct device_connection

 drivers/acpi/property.c  | 28 ++++++++++++++++++++++++++++
 drivers/base/property.c  | 36 ++++++++++++++++++++++++++++++++++++
 drivers/of/property.c    | 13 +++++++++++++
 include/linux/device.h   |  6 ++++++
 include/linux/fwnode.h   |  3 +++
 include/linux/property.h |  2 ++
 6 files changed, 88 insertions(+)

-- 
2.19.2

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-11-28  8:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-27 14:28 [PATCH v4 0/3] device property: Add fwnode_get_name() helper Heikki Krogerus
2018-11-27 14:28 ` [PATCH v4 1/4] device property: Introduce fwnode_get_name() Heikki Krogerus
2018-11-27 14:28 ` [PATCH v4 2/4] ACPI: property: Add acpi_fwnode_name() Heikki Krogerus
2018-11-27 14:28 ` [PATCH v4 3/4] of/property: Add of_fwnode_name() Heikki Krogerus
2018-11-27 14:28 ` [PATCH v4 4/4] driver core: Add fwnode member to struct device_connection Heikki Krogerus
2018-11-27 14:32   ` Heikki Krogerus
2018-11-27 15:07     ` Andy Shevchenko
2018-11-28  8:34       ` Heikki Krogerus

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).