1. 12 Apr, 2019 3 commits
  2. 11 Apr, 2019 4 commits
  3. 10 Apr, 2019 4 commits
  4. 08 Apr, 2019 3 commits
  5. 03 Apr, 2019 3 commits
  6. 02 Apr, 2019 1 commit
  7. 01 Apr, 2019 7 commits
  8. 26 Mar, 2019 4 commits
  9. 25 Mar, 2019 3 commits
  10. 21 Mar, 2019 5 commits
  11. 20 Mar, 2019 3 commits
    • Gustavo A. R. Silva's avatar
      regulator: axp20x: Mark expected switch fall-throughs · 56394386
      Gustavo A. R. Silva authored
      In preparation to enabling -Wimplicit-fallthrough, mark switch
      cases where we are expecting to fall through.
      
      This patch fixes the following warnings:
      
      drivers/regulator/axp20x-regulator.c: In function ‘axp20x_set_dcdc_freq’:
      drivers/regulator/axp20x-regulator.c:1023:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
         reg = AXP803_DCDC_FREQ_CTRL;
      drivers/regulator/axp20x-regulator.c:1025:2: note: here
        case AXP806_ID:
        ^~~~
      drivers/regulator/axp20x-regulator.c: In function ‘axp20x_set_dcdc_workmode’:
      drivers/regulator/axp20x-regulator.c:1115:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
         reg = AXP806_DCDC_MODE_CTRL2;
      drivers/regulator/axp20x-regulator.c:1121:2: note: here
        case AXP221_ID:
        ^~~~
      
      Notice that in this particular case, I moved the whole comment
      "Fall through to the check below.", which contains the "Fall through"
      comment, at the bottom of the case, which is what GCC is expecting
      to find.
      
      Warning level 3 was used: -Wimplicit-fallthrough=3
      
      This patch is part of the ongoing efforts to enable
      -Wimplicit-fallthrough.
      Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      56394386
    • Marek Vasut's avatar
      regulator: gpio: Reword the binding document · 80c94557
      Marek Vasut authored
      Reword the binding document to make it clear how the propeties work
      and which properties affect which other properties.
      Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Harald Geyer <harald@ccbib.org>
      Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Rob Herring <robh@kernel.org>
      Cc: linux-renesas-soc@vger.kernel.org
      To: devicetree@vger.kernel.org
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      80c94557
    • Axel Lin's avatar
      regulator: rn5t618: Constify regulator_desc · c2293856
      Axel Lin authored
      The regulator_desc never need to be modified, so define them as const as a
      hint to the compiler that they can go into .rodata.
      Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      c2293856