* [PATCH v2] iio: todo: fix typo and refine resource management items
@ 2026-06-13 3:31 Sanjay Chitroda
2026-06-13 13:14 ` Andy Shevchenko
0 siblings, 1 reply; 3+ messages in thread
From: Sanjay Chitroda @ 2026-06-13 3:31 UTC (permalink / raw)
To: jic23; +Cc: dlechner, nuno.sa, andy, linux-iio, linux-kernel
From: Sanjay Chitroda <sanjayembeddedse@gmail.com>
Fix a typo in the staging documentation path and adjust formatting of
existing entries for readability.
Add TODO items to track conversion of selected drivers to device managed
resource APIs and evaluate usage of cleanup.h helpers for simplifying
resource management.
These updates aim to better reflect ongoing cleanup efforts within the
IIO subsystem.
Signed-off-by: Sanjay Chitroda <sanjayembeddedse@gmail.com>
---
Changes in v2:
- rectify sentences/info following input comment from Andy and Jonathan
- v1 link: https://lore.kernel.org/all/20260601190836.2766703-1-sanjayembedded@gmail.com/
---
drivers/iio/TODO | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/drivers/iio/TODO b/drivers/iio/TODO
index 2ace27d1ac62..7b05308248d7 100644
--- a/drivers/iio/TODO
+++ b/drivers/iio/TODO
@@ -5,12 +5,17 @@ Documentation
tree
- Yaml conversions for abandoned drivers
- ABI Documentation
- - Audit driviers/iio/staging/Documentation
+ - Audit drivers/staging/iio/Documentation
-- Converting drivers from device tree centric to more generic
-property handlers.
+- Converting drivers from device tree centric to generic property handlers.
- Refactor old platform_data constructs from drivers and convert it
-to state struct and using property handlers and readers.
+ to state struct and using property handlers and readers.
+
+- Convert selected IIO drivers to use fully device managed resource APIs.
+
+- Evaluate and possibly adopt cleanup.h helpers (guard()(), __free(), et cetera)
+ in drivers where manual resource management is still used and there is a
+ significant improvement to the code flow and complexity to be had.
Mailing list: linux-iio@vger.kernel.org
--
--
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] iio: todo: fix typo and refine resource management items
2026-06-13 3:31 [PATCH v2] iio: todo: fix typo and refine resource management items Sanjay Chitroda
@ 2026-06-13 13:14 ` Andy Shevchenko
2026-06-13 14:16 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Andy Shevchenko @ 2026-06-13 13:14 UTC (permalink / raw)
To: Sanjay Chitroda; +Cc: jic23, dlechner, nuno.sa, andy, linux-iio, linux-kernel
On Sat, Jun 13, 2026 at 09:01:32AM +0530, Sanjay Chitroda wrote:
>
> Fix a typo in the staging documentation path and adjust formatting of
> existing entries for readability.
>
> Add TODO items to track conversion of selected drivers to device managed
> resource APIs and evaluate usage of cleanup.h helpers for simplifying
> resource management.
>
> These updates aim to better reflect ongoing cleanup efforts within the
> IIO subsystem.
No objection from me.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] iio: todo: fix typo and refine resource management items
2026-06-13 13:14 ` Andy Shevchenko
@ 2026-06-13 14:16 ` Jonathan Cameron
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2026-06-13 14:16 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Sanjay Chitroda, dlechner, nuno.sa, andy, linux-iio, linux-kernel
On Sat, 13 Jun 2026 16:14:24 +0300
Andy Shevchenko <andriy.shevchenko@intel.com> wrote:
> On Sat, Jun 13, 2026 at 09:01:32AM +0530, Sanjay Chitroda wrote:
> >
> > Fix a typo in the staging documentation path and adjust formatting of
> > existing entries for readability.
> >
> > Add TODO items to track conversion of selected drivers to device managed
> > resource APIs and evaluate usage of cleanup.h helpers for simplifying
> > resource management.
> >
> > These updates aim to better reflect ongoing cleanup efforts within the
> > IIO subsystem.
>
> No objection from me.
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
>
Applied to the testing branch of iio.git
Thanks,
Jonathan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-06-13 14:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-13 3:31 [PATCH v2] iio: todo: fix typo and refine resource management items Sanjay Chitroda
2026-06-13 13:14 ` Andy Shevchenko
2026-06-13 14:16 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox