Skip to content

Constify property fwnode arguments

Sakari Ailus linux-acpi linux-devicetree 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 of 7 patches 0 repliesNew

6 of 7 patches are in this archive. The cover letter announces 7.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ACPI: Constify acpi_get_next_subnode() fwnode argumentdrivers/acpi/property.c+9 -50 replies
2/7ACPI: Constify acpi_bus helper functions, switch to macrosinclude/acpi/acpi_bus.h+24 -150 replies
3/7ACPI: Constify internal fwnode argumentsdrivers/acpi/property.c include/linux/acpi.h+42 -350 replies
4/7device property: Constify argument to pset fwnode backenddrivers/base/property.c+21 -180 replies
5/7device property: Constify fwnode property APIdrivers/acpi/property.c drivers/base/property.c drivers/of/property.c +3 more+121 -1040 replies
6/7v4l: fwnode: Constify fwnode endpointsdrivers/media/v4l2-core/v4l2-fwnode.c include/media/v4l2-fwnode.h+9 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Constify property fwnode arguments

Hello everyone,

This set constifies the fwnode arguments in the fwnode property API more or less the way they are const in OF property API.

Comments are welcome.

The set depends on these patchsets:

<URL:http://www.spinics.net/lists/devicetree/msg177549.html> <URL:http://www.spinics.net/lists/linux-media/msg114283.html> <URL:http://marc.info/?l=linux-acpi&m=149544328528001&w=2>

The patches and their dependencies may be also found here:

<URL:https://git.linuxtv.org/sailus/media_tree.git/log/?h=fwnode-const>

(It's uploading right now, so you may need to wait a bit until it's all up to date.)

Sakari Ailus (7):
ACPI: Constify acpi_get_next_subnode() fwnode argument
ACPI: Constify acpi_bus helper functions, switch to macros
ACPI: Constify internal fwnode arguments
device property: Constify argument to pset fwnode backend device property: Constify fwnode property API
v4l: fwnode: Constify fwnode endpoints
v4l2-async: Make fwnode const

 drivers/acpi/property.c               | 90 +++++++++++++++++++---------------
 drivers/base/property.c               | 91 +++++++++++++++++++----------------
 drivers/media/v4l2-core/v4l2-fwnode.c | 12 ++---
 drivers/of/property.c                 | 29 +++++------
 include/acpi/acpi_bus.h               | 39 +++++++++------
 include/linux/acpi.h                  | 60 ++++++++++++-----------
 include/linux/fwnode.h                | 25 +++++-----
 include/linux/property.h              | 58 +++++++++++-----------
 include/media/v4l2-async.h            |  2 +-
 include/media/v4l2-fwnode.h           |  6 +--
 10 files changed, 226 insertions(+), 186 deletions(-)
Signature · 1 line
2.7.4