mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/3] rtc: tps6594: Add power management support
@ 2024-06-18 14:18 Richard Genoud
  2024-06-18 14:18 ` [PATCH v3 1/3] rtc: tps6594: Fix memleak in probe Richard Genoud
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Richard Genoud @ 2024-06-18 14:18 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: Thomas Petazzoni, Udit Kumar, Thomas Richard, Gregory CLEMENT,
	Esteban Blanc, linux-rtc, Lee Jones, linux-kernel,
	Richard Genoud

This series add power management support for tps6594_rtc.

The 1st patch fixes a memleak found in the probe()
The 2nd patch simply introduce a private structure as drvdata that will
be used in the 3rd patch. (no functionnal change)
The 3rd patch introduce the power management support.

Changes in v3:
 - Fix a memleak found in probe()
 - introduce a private structure to prevent squatting the mfd structure
   (struct tps6594) with rtc-only related stuff.

Changes in v2:
 - use DEFINE_SIMPLE_DEV_PM_OPS instead of deprecated SIMPLE_DEV_PM_OPS
   (This fixes the defined but unsed warning when CONFIG_PM is unset)

Richard Genoud (3):
  rtc: tps6594: Fix memleak in probe
  rtc: tps6594: introduce private structure as drvdata
  rtc: tps6594: Add power management support

 drivers/rtc/rtc-tps6594.c | 75 ++++++++++++++++++++++++++++++++-------
 1 file changed, 63 insertions(+), 12 deletions(-)


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

end of thread, other threads:[~2024-06-27 22:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-18 14:18 [PATCH v3 0/3] rtc: tps6594: Add power management support Richard Genoud
2024-06-18 14:18 ` [PATCH v3 1/3] rtc: tps6594: Fix memleak in probe Richard Genoud
2024-06-18 14:18 ` [PATCH v3 2/3] rtc: tps6594: introduce private structure as drvdata Richard Genoud
2024-06-18 14:18 ` [PATCH v3 3/3] rtc: tps6594: Add power management support Richard Genoud
2024-06-27 22:22 ` [PATCH v3 0/3] " Alexandre Belloni

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

all inboxes | Powered by JetHome®