Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v1 00/23] counter: cleanups and device lifetime fixes
@ 2021-12-25 16:10 Uwe Kleine-König
  2021-12-25 16:10 ` [PATCH v1 01/23] counter: Use container_of instead of drvdata to track counter_device Uwe Kleine-König
                   ` (24 more replies)
  0 siblings, 25 replies; 29+ messages in thread
From: Uwe Kleine-König @ 2021-12-25 16:10 UTC (permalink / raw)
  To: William Breathitt Gray
  Cc: Lars-Peter Clausen, linux-iio, Greg Kroah-Hartman,
	Jonathan Cameron, kernel, David Lechner, Fabrice Gasnier,
	Felipe Balbi, Jarkko Nikula, Kamel Bouhara, Oleksij Rempel,
	Patrick Havelange, Raymond Tan

Hello,

this serie's goal is to fix struct device lifetime issues as pointed out
in patch #13. The patches up to patch #12 are only prepatory and cleanup
patches. Patch #13 provides the needed functions to fix the issues in
all drivers (patches #15 to #22). The last patch removes the then unused
API calls.

Best regards
Uwe

Uwe Kleine-König (23):
  counter: Use container_of instead of drvdata to track counter_device
  counter: ftm-quaddec: Drop unused platform_set_drvdata()
  counter: microchip-tcb-capture: Drop unused platform_set_drvdata()
  counter: Provide a wrapper to access device private data
  counter: 104-quad-8: Convert to counter_priv() wrapper
  counter: interrupt-cnt: Convert to counter_priv() wrapper
  counter: microchip-tcb-capture: Convert to counter_priv() wrapper
  counter: intel-qep: Convert to counter_priv() wrapper
  counter: ftm-quaddec: Convert to counter_priv() wrapper
  counter: ti-eqep: Convert to counter_priv() wrapper
  counter: stm32-lptimer-cnt: Convert to counter_priv() wrapper
  counter: stm32-timer-cnt: Convert to counter_priv() wrapper
  counter: Provide alternative counter registration functions
  counter: Update documentation for new counter registration functions
  counter: 104-quad-8: Convert to new counter registration
  counter: interrupt-cnt: Convert to new counter registration
  counter: intel-qep: Convert to new counter registration
  counter: ftm-quaddec: Convert to new counter registration
  counter: microchip-tcb-capture: Convert to new counter registration
  counter: stm32-timer-cnt: Convert to new counter registration
  counter: stm32-lptimer-cnt: Convert to new counter registration
  counter: ti-eqep: Convert to new counter registration
  counter: remove old and now unused registration API

 Documentation/driver-api/generic-counter.rst |  10 +-
 drivers/counter/104-quad-8.c                 |  88 +++++-----
 drivers/counter/counter-core.c               | 168 +++++++++++++------
 drivers/counter/ftm-quaddec.c                |  37 ++--
 drivers/counter/intel-qep.c                  |  46 ++---
 drivers/counter/interrupt-cnt.c              |  38 +++--
 drivers/counter/microchip-tcb-capture.c      |  44 ++---
 drivers/counter/stm32-lptimer-cnt.c          |  51 +++---
 drivers/counter/stm32-timer-cnt.c            |  48 +++---
 drivers/counter/ti-eqep.c                    |  47 +++---
 include/linux/counter.h                      |  15 +-
 11 files changed, 345 insertions(+), 247 deletions(-)


base-commit: a7904a538933c525096ca2ccde1e60d0ee62c08e
-- 
2.33.0


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

end of thread, other threads:[~2021-12-27 15:24 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-25 16:10 [PATCH v1 00/23] counter: cleanups and device lifetime fixes Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 01/23] counter: Use container_of instead of drvdata to track counter_device Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 02/23] counter: ftm-quaddec: Drop unused platform_set_drvdata() Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 03/23] counter: microchip-tcb-capture: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 04/23] counter: Provide a wrapper to access device private data Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 05/23] counter: 104-quad-8: Convert to counter_priv() wrapper Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 06/23] counter: interrupt-cnt: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 07/23] counter: microchip-tcb-capture: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 08/23] counter: intel-qep: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 09/23] counter: ftm-quaddec: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 10/23] counter: ti-eqep: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 11/23] counter: stm32-lptimer-cnt: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 12/23] counter: stm32-timer-cnt: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 13/23] counter: Provide alternative counter registration functions Uwe Kleine-König
2021-12-25 16:34   ` Marc Kleine-Budde
2021-12-25 19:06     ` Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 14/23] counter: Update documentation for new " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 15/23] counter: 104-quad-8: Convert to new counter registration Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 16/23] counter: interrupt-cnt: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 17/23] counter: intel-qep: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 18/23] counter: ftm-quaddec: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 19/23] counter: microchip-tcb-capture: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 20/23] counter: stm32-timer-cnt: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 21/23] counter: stm32-lptimer-cnt: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 22/23] counter: ti-eqep: " Uwe Kleine-König
2021-12-25 16:10 ` [PATCH v1 23/23] counter: remove old and now unused registration API Uwe Kleine-König
2021-12-25 19:20 ` [PATCH v1 00/23] counter: cleanups and device lifetime fixes Uwe Kleine-König
2021-12-27 15:24   ` David Lechner
2021-12-27  8:22 ` Uwe Kleine-König

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