[PATCH v3 0/3] rtc: tps6594: Add power management support

Richard Genoud posted 3 patches 1 year, 7 months ago
drivers/rtc/rtc-tps6594.c | 75 ++++++++++++++++++++++++++++++++-------
1 file changed, 63 insertions(+), 12 deletions(-)
[PATCH v3 0/3] rtc: tps6594: Add power management support
Posted by Richard Genoud 1 year, 7 months ago
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(-)
Re: [PATCH v3 0/3] rtc: tps6594: Add power management support
Posted by Alexandre Belloni 1 year, 7 months ago
On Tue, 18 Jun 2024 16:18:48 +0200, Richard Genoud wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/3] rtc: tps6594: Fix memleak in probe
      https://git.kernel.org/abelloni/c/94d4154792ab
[2/3] rtc: tps6594: introduce private structure as drvdata
      https://git.kernel.org/abelloni/c/29bf97586f18
[3/3] rtc: tps6594: Add power management support
      https://git.kernel.org/abelloni/c/c88014c7aa5c

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com