device property: Consitify a few APIs and
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 4 repliesIn review
- v25 patches 16 repliesSuperseded
- v15 patches 4 repliesSuperseded
Changes in v3 from the cover letter
- used _Generic() to hide the _const API (Sakari, Greg)
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | device property: Allow const parameter to dev_fwnode()drivers/ include/ | +15 | 2 replies | |
| 2/5 | device property: Constify fwnode connection match APIsdrivers/ drivers/ drivers/ +2 more | +14 | 0 replies | |
| 3/5 | device property: Constify parameter in fwnode_graph_is_endpoint()include/ | +1 | 0 replies | |
| 4/5 | device property: Constify device child node APIsdrivers/ include/ | +9 | 0 replies | |
| 5/5 | device property: Constify parameter in device_dma_supported() and device_get_dma_attr()drivers/ include/ | +4 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Heikki Krogerus | Sakari Ailus |
|---|---|---|
| 1/5 | A-b | R-b |
| 2/5 | A-b | R-b |
| 3/5 | A-b | R-b |
| 4/5 | A-b | R-b |
| 5/5 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] device property: Consitify a few APIs and
The property.h has inconsistency in how we annotate the parameters which are not modified anyhow by the certain APIs. Also dev_fwnode() needs to be rectified in sense of the handling const qualifier.
This series improves the above with only a couple of APIs left for now untouched (PHY, which I believe doesn't belong to property.h to begin with).
Changelog v3:
- used _Generic() to hide the _const API (Sakari, Greg)
Changelog v2:
- fixed USB Type-C compilation issues (LKP)
- added tags (Sakari, Heikki)
Andy Shevchenko (5):
device property: Allow const parameter to dev_fwnode() device property: Constify fwnode connection match APIs device property: Constify parameter in fwnode_graph_is_endpoint() device property: Constify device child node APIs device property: Constify parameter in device_dma_supported() and
device_get_dma_attr()
drivers/base/property.c | 29 ++++++++++++++++++----------- drivers/usb/roles/class.c | 2 +- drivers/usb/typec/mux.c | 8 ++++---- drivers/usb/typec/retimer.c | 2 +- include/linux/property.h | 34 +++++++++++++++++++--------------- 5 files changed, 43 insertions(+), 32 deletions(-)
Signature · 1 line
2.35.1