lkml.org 
[lkml]   [2022]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/5] device property: Consitify a few APIs and correct dev_fwnode()
Date
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 v2:
- fixed USB Type-C compilation issues (LKP)
- added tags (Sakari, Heikki)

Andy Shevchenko (5):
device property: Keep dev_fwnode() and dev_fwnode_const() separate
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 | 39 ++++++++++++++++++++++---------------
drivers/usb/roles/class.c | 2 +-
drivers/usb/typec/mux.c | 8 ++++----
drivers/usb/typec/retimer.c | 2 +-
include/linux/property.h | 32 +++++++++++++++---------------
5 files changed, 45 insertions(+), 38 deletions(-)

--
2.35.1

\
 
 \ /
  Last update: 2022-09-28 13:00    [W:0.049 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site