Skip to content

regulator: Fix W=1 build warning when CONFIG_OF=n

Jisheng Zhang linux-arm-kernel linux-arm-msm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest15 patches 4 repliesIn review
  2. v112 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- fix the warning with __maybe_unused instead of CONFIG_OF macro
- add 3 more patches to fix the same issue

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15regulator: 88pg86x: Fix W=1 build warning when CONFIG_OF=ndrivers/regulator/88pg86x.c+1 -10 replies
2/15regulator: da9210: Fix W=1 build warning when CONFIG_OF=ndrivers/regulator/da9210-regulator.c+1 -11 reply
3/15regulator: fan53555: Fix W=1 build warning when CONFIG_OF=ndrivers/regulator/fan53555.c+1 -10 replies
4/15regulator: fixed: Fix W=1 build warnings when CONFIG_OF=ndrivers/regulator/fixed.c+8 -80 replies
5/15regulator: ltc3589: Fix W=1 build warning when CONFIG_OF=ndrivers/regulator/ltc3589.c+1 -10 replies
6/15regulator: ltc3676: Fix W=1 build warning when CONFIG_OF=ndrivers/regulator/ltc3676.c+1 -10 replies
7/15regulator: max1586: Fix W=1 build warning when CONFIG_OF=ndrivers/regulator/max1586.c+1 -10 replies
8/15regulator: max77826: Fix W=1 build warning when CONFIG_OF=ndrivers/regulator/max77826-regulator.c+1 -10 replies
9/15regulator: pwm: Fix W=1 build warning when CONFIG_OF=ndrivers/regulator/pwm-regulator.c+1 -10 replies
10/15regulator: stm32-pwr: Fix W=1 build warning when CONFIG_OF=ndrivers/regulator/stm32-pwr.c+1 -10 replies
11/15regulator: stm32-vrefbuf: Fix W=1 build warning when CONFIG_OF=ndrivers/regulator/stm32-vrefbuf.c+1 -11 reply
12/15regulator: sy8106a: Fix W=1 build warning when CONFIG_OF=ndrivers/regulator/sy8106a-regulator.c+1 -10 replies
13/15regulator: qcom-rpmh: Fix W=1 build warning when CONFIG_OF=ndrivers/regulator/qcom-rpmh-regulator.c+1 -10 replies
14/15regulator: stm32-booster: Fix W=1 build warning when CONFIG_OF=ndrivers/regulator/stm32-booster.c+1 -11 reply
15/15regulator: tps65023: Fix W=1 build warning when CONFIG_OF=ndrivers/regulator/tps65023-regulator.c+1 -10 replies

Reviews trailers per patch

3 of 15 patches have a Reviewed-by or Acked-by.

PatchFabrice GasnierAdam Thomson
1/15
2/15A-b
3/15
4/15
5/15
6/15
7/15
8/15
9/15
10/15
11/15A-b
12/15
13/15
14/15A-b
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/15] regulator: Fix W=1 build warning when CONFIG_OF=n

Fixing W=1 build warning when no support for device tree is there.

Since v1:
- fix the warning with __maybe_unused instead of CONFIG_OF macro
- add 3 more patches to fix the same issue

Jisheng Zhang (15):
regulator: 88pg86x: Fix W=1 build warning when CONFIG_OF=n
regulator: da9210: Fix W=1 build warning when CONFIG_OF=n
regulator: fan53555: Fix W=1 build warning when CONFIG_OF=n
regulator: fixed: Fix W=1 build warnings when CONFIG_OF=n
regulator: ltc3589: Fix W=1 build warning when CONFIG_OF=n
regulator: ltc3676: Fix W=1 build warning when CONFIG_OF=n
regulator: max1586: Fix W=1 build warning when CONFIG_OF=n
regulator: max77826: Fix W=1 build warning when CONFIG_OF=n
regulator: pwm: Fix W=1 build warning when CONFIG_OF=n
regulator: stm32-pwr: Fix W=1 build warning when CONFIG_OF=n
regulator: stm32-vrefbuf: Fix W=1 build warning when CONFIG_OF=n
regulator: sy8106a: Fix W=1 build warning when CONFIG_OF=n
regulator: qcom-rpmh: Fix W=1 build warning when CONFIG_OF=n
regulator: stm32-booster: Fix W=1 build warning when CONFIG_OF=n
regulator: tps65023: Fix W=1 build warning when CONFIG_OF=n

 drivers/regulator/88pg86x.c             |  2 +-
 drivers/regulator/da9210-regulator.c    |  2 +-
 drivers/regulator/fan53555.c            |  2 +-
 drivers/regulator/fixed.c               | 16 ++++++++--------
 drivers/regulator/ltc3589.c             |  2 +-
 drivers/regulator/ltc3676.c             |  2 +-
 drivers/regulator/max1586.c             |  2 +-
 drivers/regulator/max77826-regulator.c  |  2 +-
 drivers/regulator/pwm-regulator.c       |  2 +-
 drivers/regulator/qcom-rpmh-regulator.c |  2 +-
 drivers/regulator/stm32-booster.c       |  2 +-
 drivers/regulator/stm32-pwr.c           |  2 +-
 drivers/regulator/stm32-vrefbuf.c       |  2 +-
 drivers/regulator/sy8106a-regulator.c   |  2 +-
 drivers/regulator/tps65023-regulator.c  |  2 +-
 15 files changed, 22 insertions(+), 22 deletions(-)
Signature · 1 line
2.28.0