iio: core: Fix and cleanup to iio_device_alloc()
Status from this message: Applied to the togreg-normal branch of iio.git which I'll rebase on rc1
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iio: core: Leave private pointer NULL when no private data supplieddrivers/ | +4 | 2 replies | |
| 2/2 | iio: core: Calculate alloc_size only once in iio_device_alloc()drivers/ | +4 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | David Lechner |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/2] iio: core: Fix and cleanup to iio_device_alloc()
This is an exctract of the two patches from
https://lore.kernel.org/r/[email protected]
In v1 (extract):
- removed unneeded 'else' branch (David)
- fixed typo in allocation cleanup (David)
Andy Shevchenko (2):
iio: core: Leave private pointer NULL when no private data supplied
iio: core: Calculate alloc_size only once in iio_device_alloc()
drivers/iio/industrialio-core.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
Signature · 1 line
2.43.0.rc1.1.gbec44491f096