Skip to content

Preparation for further fwnode property cleanup

Sakari Ailus linux-acpi linux-devicetree 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 3 repliesIn review
  2. v53 patches 4 repliesSuperseded
  3. v42 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v31 patch2 repliesSuperseded
v21 patch0 repliesSuperseded

Changes in v6 from the cover letter

- Add "pr_fmt" macro missed when splitting base.c (1st patch).

- Add a missing newline (1st patch).

- Use parentheses around macro aguments (2nd and 3rd patch).

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3of: Move OF property and graph API from base.c to property.cdrivers/of/Makefile drivers/of/base.c drivers/of/property.c+767 -7340 replies
2/3of: Make of_fwnode_handle() saferinclude/linux/of.h+7 -10 replies
3/3of: Support const and non-const use for to_of_node()include/linux/of.h+12 -80 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchKieran Bingham
1/3
2/3R-b
3/3R-b

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] Preparation for further fwnode property cleanup

Hi Rob, Frank, others,

Here's the 6th version of what used to be a single patch to prepare for fwnode property cleanup.

Beyond this, I have a couple of other patchsets I'll post in the near future:

- fwnode property cleanup (for linux-pm) which moves the property API implementation to FW specific locations; depends on these patches,

- V4L2 fwnode patches (for media_tree, no unmerged dependencies, pull request sent) and

- fwnode const patchset which allows making the fwnode argument for the property API functions const. It depends on both of the previous sets. Might be for linux-pm.

since v5:

- Add "pr_fmt" macro missed when splitting base.c (1st patch).

- Add a missing newline (1st patch).

- Use parentheses around macro aguments (2nd and 3rd patch).

since v4:

- Add patch "of: Support const and non-const use for to_of_node()" to the set.

- Make nop is_of_node() and to_of_node() const-correct if OF is disabled. (since v4.1)

since v3:

- Rebase the first patch (no conflicts),

- Add another patch for to make of_fwnode_handle() handle NULL argument gracefully.

Sakari Ailus (3):
of: Move OF property and graph API from base.c to property.c
of: Make of_fwnode_handle() safer
of: Support const and non-const use for to_of_node()

 drivers/of/Makefile   |   2 +-
 drivers/of/base.c     | 733 ------------------------------------------------
 drivers/of/property.c | 763 ++++++++++++++++++++++++++++++++++++++++++++++++++
 include/linux/of.h    |  30 +-
 4 files changed, 784 insertions(+), 744 deletions(-)
 create mode 100644 drivers/of/property.c
Signature · 24 lines
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


*** BLURB HERE ***

Sakari Ailus (3):
  of: Move OF property and graph API from base.c to property.c
  of: Make of_fwnode_handle() safer
  of: Support const and non-const use for to_of_node()

 drivers/of/Makefile   |   2 +-
 drivers/of/base.c     | 733 -----------------------------------------------
 drivers/of/property.c | 766 ++++++++++++++++++++++++++++++++++++++++++++++++++
 include/linux/of.h    |  30 +-
 4 files changed, 787 insertions(+), 744 deletions(-)
 create mode 100644 drivers/of/property.c

-- 
2.7.4