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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux