Skip to content

iio: Introduce and use device_property_match_property_string()

Andy Shevchenko linux-acpi linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6device property: Use fwnode_property_string_array_count()drivers/base/property.c+1 -11 reply
2/6device property: Add fwnode_property_match_property_string()drivers/base/property.c include/linux/property.h+47 -07 replies
3/6iio: frequency: adf4377: Switch to device_property_match_property_string()drivers/iio/frequency/adf4377.c+6 -100 replies
4/6iio: frequency: admv1014: Switch to device_property_match_property_string()drivers/iio/frequency/admv1014.c+12 -190 replies
5/6iio: magnetometer: tmag5273: Switch to device_property_match_property_string()drivers/iio/magnetometer/tmag5273.c+3 -70 replies
6/6iio: proximity: sx9324: Switch to device_property_match_property_string()drivers/iio/proximity/sx9324.c+10 -140 replies

Reviews trailers per patch

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

PatchRafael J. Wysocki
1/6A-b
2/6A-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.

Read the v1 thread

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