iio: core: A few code cleanups and documentation fixes
Status from this message: Applied to the togreg branch of iio.git.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Changes in v3 from the cover letter
- dropped applied patches
- use switch-case for the supported clocks (Jonathan)
- redone opaque_struct_size() to be simpler (Uwe)
- dropped wrong hunk for krealloc_array() conversion (Jonathan)
- dropped initcall move (Jonathan)
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | iio: core: Use sysfs_match_string() helperdrivers/ | +32 | 1 reply | |
| 2/4 | iio: core: Add opaque_struct_size() helper and use itdrivers/ | +20 | 5 replies | |
| 3/4 | iio: core: Switch to krealloc_array()drivers/ | +1 | 1 reply | |
| 4/4 | iio: core: Fix issues and style of the commentsdrivers/ | +37 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Nuno Sa | Randy Dunlap |
|---|---|---|
| 1/4 | R-b | |
| 2/4 | R-b | |
| 3/4 | R-b | |
| 4/4 | R-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/4] iio: core: A few code cleanups and documentation fixes
Just set of almost unrelated to each other cleanups against IIO core implementation.
The positive LoCs diffstat due to first patch that adds a lot of documentation for the newly added macro and existing kernel doc.
v3:
- dropped applied patches
- use switch-case for the supported clocks (Jonathan)
- redone opaque_struct_size() to be simpler (Uwe)
- dropped wrong hunk for krealloc_array() conversion (Jonathan)
- dropped initcall move (Jonathan)
v2:
- sprintf() --> sysfs_emit() (Nuno)
- added tag (Nuno)
Andy Shevchenko (4):
iio: core: Use sysfs_match_string() helper
iio: core: Add opaque_struct_size() helper and use it
iio: core: Switch to krealloc_array()
iio: core: Fix issues and style of the comments
drivers/iio/industrialio-core.c | 158 ++++++++++++++++++-------------- 1 file changed, 90 insertions(+), 68 deletions(-)
Signature · 1 line
2.40.0.1.gaa8946217a0b