public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] iio: core: Fix and cleanup to iio_device_alloc()
@ 2024-03-04 14:04 Andy Shevchenko
  2024-03-04 14:04 ` [PATCH v1 1/2] iio: core: Leave private pointer NULL when no private data supplied Andy Shevchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andy Shevchenko @ 2024-03-04 14:04 UTC (permalink / raw)
  To: Jonathan Cameron, Andy Shevchenko, linux-iio, linux-kernel
  Cc: Jonathan Cameron, Lars-Peter Clausen

This is an exctract of the two patches from 
https://lore.kernel.org/r/20240228204919.3680786-1-andriy.shevchenko@linux.intel.com

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(-)

-- 
2.43.0.rc1.1.gbec44491f096


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-03-09 18:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04 14:04 [PATCH v1 0/2] iio: core: Fix and cleanup to iio_device_alloc() Andy Shevchenko
2024-03-04 14:04 ` [PATCH v1 1/2] iio: core: Leave private pointer NULL when no private data supplied Andy Shevchenko
2024-03-04 14:39   ` David Lechner
2024-03-09 18:37   ` Jonathan Cameron
2024-03-04 14:04 ` [PATCH v1 2/2] iio: core: Calculate alloc_size only once in iio_device_alloc() Andy Shevchenko
2024-03-04 14:38   ` David Lechner
2024-03-09 18:42   ` Christophe JAILLET
2024-03-09 18:38 ` [PATCH v1 0/2] iio: core: Fix and cleanup to iio_device_alloc() Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox