1. 16 9月, 2015 1 次提交
    • T
      genirq: Remove irq argument from irq flow handlers · bd0b9ac4
      Thomas Gleixner 提交于
      Most interrupt flow handlers do not use the irq argument. Those few
      which use it can retrieve the irq number from the irq descriptor.
      
      Remove the argument.
      
      Search and replace was done with coccinelle and some extra helper
      scripts around it. Thanks to Julia for her help!
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Cc: Jiang Liu <jiang.liu@linux.intel.com>
      bd0b9ac4
  2. 19 6月, 2014 1 次提交
  3. 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
  4. 05 2月, 2014 1 次提交
  5. 03 2月, 2014 1 次提交
  6. 04 12月, 2013 2 次提交
  7. 03 12月, 2013 2 次提交
  8. 16 10月, 2013 1 次提交
  9. 11 10月, 2013 3 次提交
  10. 20 6月, 2013 1 次提交
  11. 04 6月, 2013 1 次提交
  12. 31 5月, 2013 6 次提交
  13. 21 5月, 2013 1 次提交
  14. 05 2月, 2013 2 次提交
  15. 29 11月, 2012 3 次提交
  16. 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
  17. 11 5月, 2012 1 次提交
  18. 09 5月, 2012 1 次提交
  19. 06 4月, 2012 3 次提交
  20. 06 10月, 2011 1 次提交
  21. 07 6月, 2011 1 次提交
  22. 27 5月, 2011 1 次提交
  23. 10 4月, 2011 1 次提交
  24. 18 3月, 2011 3 次提交