iio: Introduce and use device_property_match_property_string()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | device property: Use fwnode_property_string_array_count()drivers/ | +1 | 1 reply | |
| 2/6 | device property: Add fwnode_property_match_property_string()drivers/ include/ | +47 | 7 replies | |
| 3/6 | iio: frequency: adf4377: Switch to device_property_match_property_string()drivers/ | +6 | 0 replies | |
| 4/6 | iio: frequency: admv1014: Switch to device_property_match_property_string()drivers/ | +12 | 0 replies | |
| 5/6 | iio: magnetometer: tmag5273: Switch to device_property_match_property_string()drivers/ | +3 | 0 replies | |
| 6/6 | iio: proximity: sx9324: Switch to device_property_match_property_string()drivers/ | +10 | 0 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Rafael J. Wysocki |
|---|---|
| 1/6 | A-b |
| 2/6 | A-b |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/6] iio: Introduce and use device_property_match_property_string()
At least 4 drivers in the kernel are open coding functionality of proposed device_property_match_property_string() helper.
There are also more existing users, but I want to limit this to one (biggest user so far) subsystem. Hence, assuming Greg KH is okay this can be routed via IIO (and again via Greg :-).
The +28 statistics in particular due to documentation. With more users converted we may actually get rid of some lines of code in the future.
Andy Shevchenko (6):
device property: Use fwnode_property_string_array_count() device property: Add fwnode_property_match_property_string()
iio: frequency: adf4377: Switch to
device_property_match_property_string()
iio: frequency: admv1014: Switch to
device_property_match_property_string()
iio: magnetometer: tmag5273: Switch to
device_property_match_property_string()
iio: proximity: sx9324: Switch to
device_property_match_property_string()
drivers/base/property.c | 37 ++++++++++++++++++++++++++++- drivers/iio/frequency/adf4377.c | 16 +++++-------- drivers/iio/frequency/admv1014.c | 31 ++++++++++-------------- drivers/iio/magnetometer/tmag5273.c | 10 +++----- drivers/iio/proximity/sx9324.c | 24 ++++++++----------- include/linux/property.h | 12 ++++++++++ 6 files changed, 79 insertions(+), 51 deletions(-)
Signature · 1 line
2.40.0.1.gaa8946217a0b