1. 07 9月, 2020 1 次提交
  2. 13 7月, 2020 6 次提交
  3. 08 7月, 2020 1 次提交
  4. 01 6月, 2020 1 次提交
  5. 28 5月, 2020 9 次提交
  6. 20 4月, 2020 1 次提交
  7. 24 3月, 2020 2 次提交
  8. 13 2月, 2020 1 次提交
  9. 24 1月, 2020 1 次提交
  10. 18 12月, 2019 1 次提交
  11. 16 12月, 2019 1 次提交
  12. 11 9月, 2019 1 次提交
    • S
      mmc: Remove dev_err() usage after platform_get_irq() · 9a7957d0
      Stephen Boyd 提交于
      We don't need dev_err() messages when platform_get_irq() fails now that
      platform_get_irq() prints an error message itself when something goes
      wrong. Let's remove these prints with a simple semantic patch.
      
      // <smpl>
      @@
      expression ret;
      struct platform_device *E;
      @@
      
      ret =
      (
      platform_get_irq(E, ...)
      |
      platform_get_irq_byname(E, ...)
      );
      
      if ( \( ret < 0 \| ret <= 0 \) )
      {
      (
      -if (ret != -EPROBE_DEFER)
      -{ ...
      -dev_err(...);
      -... }
      |
      ...
      -dev_err(...);
      )
      ...
      }
      // </smpl>
      
      While we're here, remove braces on if statements that only have one
      statement (manually).
      
      Cc: Ulf Hansson <ulf.hansson@linaro.org>
      Cc: linux-mmc@vger.kernel.org
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: NStephen Boyd <swboyd@chromium.org>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      9a7957d0
  13. 10 7月, 2019 1 次提交
  14. 05 6月, 2019 1 次提交
  15. 17 12月, 2018 3 次提交
  16. 16 7月, 2018 4 次提交
  17. 31 5月, 2018 1 次提交
  18. 02 5月, 2018 2 次提交
  19. 23 11月, 2017 1 次提交
  20. 30 10月, 2017 1 次提交
    • A
      mmc: sdhci-msm: fix x86 build error · 9ccfa817
      Arnd Bergmann 提交于
      The __WARN_printf() function is not portable across architectures
      and causes a compile-time error on x86 and others that don't use
      the asm-generic version of asm/bug.h:
      
      drivers/mmc/host/sdhci-msm.c: In function 'sdhci_msm_check_power_status':
      drivers/mmc/host/sdhci-msm.c:1066:4: error: implicit declaration of function '__WARN_printf'; did you mean '__dev_printk'? [-Werror=implicit-function-declaration]
          __WARN_printf("%s: pwr_irq for req: (%d) timed out\n",
          ^~~~~~~~~~~~~
      
      The change that introduced this error, "mmc: sdhci-msm: Add sdhci msm
      register write APIs which wait for pwr irq", likely meant to use
      dev_warn(), so I'm changing over to that.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      9ccfa817