[PATCH v3 00/28] mfd: Remove #ifdef guards for PM functions

Paul Cercueil posted 28 patches 3 years, 5 months ago
drivers/mfd/88pm800.c             |  2 +-
drivers/mfd/88pm805.c             |  2 +-
drivers/mfd/88pm80x.c             |  5 +----
drivers/mfd/88pm860x-core.c       |  6 ++----
drivers/mfd/aat2870-core.c        |  8 +++-----
drivers/mfd/adp5520.c             |  6 ++----
drivers/mfd/arizona-core.c        | 19 +++++++------------
drivers/mfd/arizona-i2c.c         |  2 +-
drivers/mfd/arizona-spi.c         |  2 +-
drivers/mfd/intel-lpss-acpi.c     |  4 +---
drivers/mfd/intel-lpss-pci.c      |  2 +-
drivers/mfd/intel-lpss.c          | 15 +++++++++------
drivers/mfd/intel-lpss.h          | 28 +---------------------------
drivers/mfd/max14577.c            |  6 ++----
drivers/mfd/max77620.c            |  9 +++------
drivers/mfd/max77686.c            |  6 ++----
drivers/mfd/max8925-i2c.c         |  7 +++----
drivers/mfd/mcp-sa11x0.c          |  6 +-----
drivers/mfd/motorola-cpcap.c      |  6 ++----
drivers/mfd/mt6397-irq.c          |  6 +-----
drivers/mfd/pcf50633-core.c       | 22 +---------------------
drivers/mfd/pcf50633-irq.c        | 13 ++++++++-----
drivers/mfd/rc5t583-irq.c         |  7 ++-----
drivers/mfd/sec-core.c            |  7 +++----
drivers/mfd/sm501.c               | 10 ++--------
drivers/mfd/sprd-sc27xx-spi.c     |  7 +++----
drivers/mfd/stmfx.c               |  6 ++----
drivers/mfd/stmpe-i2c.c           |  4 +---
drivers/mfd/stmpe-spi.c           |  4 +---
drivers/mfd/stmpe.c               |  8 ++------
drivers/mfd/stpmic1.c             |  6 ++----
drivers/mfd/t7l66xb.c             |  9 ++-------
drivers/mfd/tc3589x.c             |  7 +++----
drivers/mfd/tc6387xb.c            |  9 ++-------
drivers/mfd/tc6393xb.c            |  9 ++-------
drivers/mfd/tps6586x.c            |  6 +-----
drivers/mfd/ucb1x00-core.c        |  7 +++----
drivers/mfd/wm8994-core.c         |  6 ++----
include/linux/mfd/pcf50633/core.h |  6 ++----
include/linux/mfd/stmfx.h         |  2 --
40 files changed, 89 insertions(+), 213 deletions(-)
[PATCH v3 00/28] mfd: Remove #ifdef guards for PM functions
Posted by Paul Cercueil 3 years, 5 months ago
Hi Lee,

Here's my V3 patchset that removes #ifdef guards around PM functions.

V2's patch [01/30] which introduced the new PM export macros have been
merged, so it's been dropped from this patchset.

That's pretty much the only change since V2. The other change is that
the patch to the 'intel_soc_pmic' driver was dropped since the driver
itself was dropped.

All the remaining 28 patches are untouched since V2.

Cheers,
-Paul

Paul Cercueil (28):
  mfd: 88pm80x: Remove #ifdef guards for PM related functions
  mfd: aat2870: Remove #ifdef guards for PM related functions
  mfd: adp5520: Remove #ifdef guards for PM related functions
  mfd: max8925-i2c: Remove #ifdef guards for PM related functions
  mfd: mt6397-irq: Remove #ifdef guards for PM related functions
  mfd: pcf50633: Remove #ifdef guards for PM related functions
  mfd: rc5t583-irq: Remove #ifdef guards for PM related functions
  mfd: stpmic1: Remove #ifdef guards for PM related functions
  mfd: ucb1x00: Remove #ifdef guards for PM related functions
  mfd: 88pm860x: Remove #ifdef guards for PM related functions
  mfd: mcp-sa11x0: Remove #ifdef guards for PM related functions
  mfd: sec: Remove #ifdef guards for PM related functions
  mfd: sm501: Remove #ifdef guards for PM related functions
  mfd: tc6387xb: Remove #ifdef guards for PM related functions
  mfd: tps6586x: Remove #ifdef guards for PM related functions
  mfd: wm8994: Remove #ifdef guards for PM related functions
  mfd: max77620: Remove #ifdef guards for PM related functions
  mfd: t7l66xb: Remove #ifdef guards for PM related functions
  mfd: arizona: Remove #ifdef guards for PM related functions
  mfd: max14577: Remove #ifdef guards for PM related functions
  mfd: max77686: Remove #ifdef guards for PM related functions
  mfd: motorola-cpcap: Remove #ifdef guards for PM related functions
  mfd: sprd-sc27xx: Remove #ifdef guards for PM related functions
  mfd: stmfx: Remove #ifdef guards for PM related functions
  mfd: stmpe: Remove #ifdef guards for PM related functions
  mfd: tc3589x: Remove #ifdef guards for PM related functions
  mfd: tc6393xb: Remove #ifdef guards for PM related functions
  mfd: intel-lpss: Remove #ifdef guards for PM related functions

 drivers/mfd/88pm800.c             |  2 +-
 drivers/mfd/88pm805.c             |  2 +-
 drivers/mfd/88pm80x.c             |  5 +----
 drivers/mfd/88pm860x-core.c       |  6 ++----
 drivers/mfd/aat2870-core.c        |  8 +++-----
 drivers/mfd/adp5520.c             |  6 ++----
 drivers/mfd/arizona-core.c        | 19 +++++++------------
 drivers/mfd/arizona-i2c.c         |  2 +-
 drivers/mfd/arizona-spi.c         |  2 +-
 drivers/mfd/intel-lpss-acpi.c     |  4 +---
 drivers/mfd/intel-lpss-pci.c      |  2 +-
 drivers/mfd/intel-lpss.c          | 15 +++++++++------
 drivers/mfd/intel-lpss.h          | 28 +---------------------------
 drivers/mfd/max14577.c            |  6 ++----
 drivers/mfd/max77620.c            |  9 +++------
 drivers/mfd/max77686.c            |  6 ++----
 drivers/mfd/max8925-i2c.c         |  7 +++----
 drivers/mfd/mcp-sa11x0.c          |  6 +-----
 drivers/mfd/motorola-cpcap.c      |  6 ++----
 drivers/mfd/mt6397-irq.c          |  6 +-----
 drivers/mfd/pcf50633-core.c       | 22 +---------------------
 drivers/mfd/pcf50633-irq.c        | 13 ++++++++-----
 drivers/mfd/rc5t583-irq.c         |  7 ++-----
 drivers/mfd/sec-core.c            |  7 +++----
 drivers/mfd/sm501.c               | 10 ++--------
 drivers/mfd/sprd-sc27xx-spi.c     |  7 +++----
 drivers/mfd/stmfx.c               |  6 ++----
 drivers/mfd/stmpe-i2c.c           |  4 +---
 drivers/mfd/stmpe-spi.c           |  4 +---
 drivers/mfd/stmpe.c               |  8 ++------
 drivers/mfd/stpmic1.c             |  6 ++----
 drivers/mfd/t7l66xb.c             |  9 ++-------
 drivers/mfd/tc3589x.c             |  7 +++----
 drivers/mfd/tc6387xb.c            |  9 ++-------
 drivers/mfd/tc6393xb.c            |  9 ++-------
 drivers/mfd/tps6586x.c            |  6 +-----
 drivers/mfd/ucb1x00-core.c        |  7 +++----
 drivers/mfd/wm8994-core.c         |  6 ++----
 include/linux/mfd/pcf50633/core.h |  6 ++----
 include/linux/mfd/stmfx.h         |  2 --
 40 files changed, 89 insertions(+), 213 deletions(-)

-- 
2.35.1
Re: [PATCH v3 00/28] mfd: Remove #ifdef guards for PM functions
Posted by Lee Jones 3 years, 5 months ago
On Sun, 23 Oct 2022, Paul Cercueil wrote:

> Hi Lee,
> 
> Here's my V3 patchset that removes #ifdef guards around PM functions.
> 
> V2's patch [01/30] which introduced the new PM export macros have been
> merged, so it's been dropped from this patchset.
> 
> That's pretty much the only change since V2. The other change is that
> the patch to the 'intel_soc_pmic' driver was dropped since the driver
> itself was dropped.
> 
> All the remaining 28 patches are untouched since V2.
> 
> Cheers,
> -Paul
> 
> Paul Cercueil (28):
>   mfd: 88pm80x: Remove #ifdef guards for PM related functions
>   mfd: aat2870: Remove #ifdef guards for PM related functions
>   mfd: adp5520: Remove #ifdef guards for PM related functions
>   mfd: max8925-i2c: Remove #ifdef guards for PM related functions
>   mfd: mt6397-irq: Remove #ifdef guards for PM related functions
>   mfd: pcf50633: Remove #ifdef guards for PM related functions
>   mfd: rc5t583-irq: Remove #ifdef guards for PM related functions
>   mfd: stpmic1: Remove #ifdef guards for PM related functions
>   mfd: ucb1x00: Remove #ifdef guards for PM related functions
>   mfd: 88pm860x: Remove #ifdef guards for PM related functions
>   mfd: mcp-sa11x0: Remove #ifdef guards for PM related functions
>   mfd: sec: Remove #ifdef guards for PM related functions
>   mfd: sm501: Remove #ifdef guards for PM related functions
>   mfd: tc6387xb: Remove #ifdef guards for PM related functions
>   mfd: tps6586x: Remove #ifdef guards for PM related functions
>   mfd: wm8994: Remove #ifdef guards for PM related functions
>   mfd: max77620: Remove #ifdef guards for PM related functions
>   mfd: t7l66xb: Remove #ifdef guards for PM related functions
>   mfd: arizona: Remove #ifdef guards for PM related functions
>   mfd: max14577: Remove #ifdef guards for PM related functions
>   mfd: max77686: Remove #ifdef guards for PM related functions
>   mfd: motorola-cpcap: Remove #ifdef guards for PM related functions
>   mfd: sprd-sc27xx: Remove #ifdef guards for PM related functions
>   mfd: stmfx: Remove #ifdef guards for PM related functions
>   mfd: stmpe: Remove #ifdef guards for PM related functions
>   mfd: tc3589x: Remove #ifdef guards for PM related functions
>   mfd: tc6393xb: Remove #ifdef guards for PM related functions
>   mfd: intel-lpss: Remove #ifdef guards for PM related functions

Applied 00-27, thanks.

-- 
Lee Jones [李琼斯]