1. 19 6月, 2014 1 次提交
  2. 18 3月, 2014 1 次提交
    • L
      gpio: switch drivers to use new callback · 57ef0428
      Linus Walleij 提交于
      This switches all GPIO and pin control drivers with irqchips
      that were using .startup() and .shutdown() callbacks to lock
      GPIO lines for IRQ usage over to using the .request_resources()
      and .release_resources() callbacks just introduced into the
      irqchip vtable.
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      57ef0428
  3. 05 2月, 2014 1 次提交
  4. 03 2月, 2014 1 次提交
  5. 04 12月, 2013 2 次提交
  6. 03 12月, 2013 2 次提交
  7. 16 10月, 2013 1 次提交
  8. 11 10月, 2013 3 次提交
  9. 20 6月, 2013 1 次提交
  10. 04 6月, 2013 1 次提交
  11. 31 5月, 2013 6 次提交
  12. 21 5月, 2013 1 次提交
  13. 05 2月, 2013 2 次提交
  14. 29 11月, 2012 3 次提交
  15. 07 8月, 2012 1 次提交
    • J
      drivers/gpio/gpio-langwell.c: fix error return code · d6a2b7ba
      Julia Lawall 提交于
      Convert a 0 error return code to a negative one, as returned elsewhere in the
      function.
      
      A simplified version of the semantic match that finds this problem is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @@
      identifier ret;
      expression e,e1,e2,e3,e4,x;
      @@
      
      (
      if (\(ret != 0\|ret < 0\) || ...) { ... return ...; }
      |
      ret = 0
      )
      ... when != ret = e1
      *x = \(kmalloc\|kzalloc\|kcalloc\|devm_kzalloc\|ioremap\|ioremap_nocache\|devm_ioremap\|devm_ioremap_nocache\)(...);
      ... when != x = e2
          when != ret = e3
      *if (x == NULL || ...)
      {
        ... when != ret = e4
      *  return ret;
      }
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      d6a2b7ba
  16. 11 5月, 2012 1 次提交
  17. 09 5月, 2012 1 次提交
  18. 06 4月, 2012 3 次提交
  19. 06 10月, 2011 1 次提交
  20. 07 6月, 2011 1 次提交
  21. 27 5月, 2011 1 次提交
  22. 10 4月, 2011 1 次提交
  23. 18 3月, 2011 4 次提交