Skip to content

device property: Add fwnode_get_name() helper

Heikki Krogerus linux-acpi linux-devicetree lkml 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 4 repliesIn review
  2. v53 patches 2 repliesSuperseded
  3. v4 posting 2/24 patches 3 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v4 posting 1/20 of 3 patches0 repliesSuperseded
v33 patches4 repliesSuperseded
v24 patches8 repliesSuperseded
v14 patches16 repliesSuperseded

Changes in v6 from the cover letter

- No longer reading "name" device property as fallback.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3device property: Introduce fwnode_get_name()drivers/base/property.c include/linux/fwnode.h include/linux/property.h+22 -00 replies
2/3ACPI: property: Add acpi_fwnode_name()drivers/acpi/property.c+28 -00 replies
3/3of/property: Add of_fwnode_name()drivers/of/property.c+13 -03 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy Shevchenko
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/3] device property: Add fwnode_get_name() helper

Hi,

Andy, I dropped you Reviewed-by tag because of the last change to this series, so if you could check these again I would much appreciate.

Changes since v5:
- No longer reading "name" device property as fallback.

Changes since v4:
- No changes. There was an extra patch in v3. This was just a resend of v3 without that extra patch.

Changes since v3:
- 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 (3):
device property: Introduce fwnode_get_name()
ACPI: property: Add acpi_fwnode_name()
of/property: Add of_fwnode_name()

 drivers/acpi/property.c  | 28 ++++++++++++++++++++++++++++
 drivers/base/property.c  | 17 +++++++++++++++++
 drivers/of/property.c    | 13 +++++++++++++
 include/linux/fwnode.h   |  3 +++
 include/linux/property.h |  2 ++
 5 files changed, 63 insertions(+)
Signature · 1 line
2.19.2