1. 16 11月, 2015 2 次提交
  2. 27 10月, 2015 1 次提交
  3. 31 5月, 2015 1 次提交
  4. 16 3月, 2015 1 次提交
    • S
      Staging: nvec: use !x instead of x == NULL · 4c42d979
      Somya Anand 提交于
      Functions like devm_kzalloc, kmalloc_array, devm_ioremap,
      usb_alloc_urb, alloc_netdev return NULL as a return value on failure.
      Generally, When NULL represents failure, !x is commonly used.
      
      This patch cleans up the tests on the results of these functions, thereby
      using !x instead of x == NULL or NULL == x. This is done via following
      coccinelle script:
      @prob_7@
      identifier x;
      statement S;
      @@
      
      (
       x = devm_kzalloc(...);
      |
       x = usb_alloc_urb(...);
      |
       x = kmalloc_array(...);
      |
       x = devm_ioremap(...);
      |
       x = alloc_netdev(...);
      )
       ...
      - if(NULL == x)
      + if(!x)
              S
      Further we have used isomorphism characteristics of coccinelle to
      indicate x == NULL and NULL == x are equivalent. This is done via
      following iso script.
      
      Expression
      @ is_null @ expression X; @@
      X == NULL <=> NULL == X
      Signed-off-by: NSomya Anand <somyaanand214@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4c42d979
  5. 25 1月, 2015 1 次提交
  6. 21 1月, 2015 1 次提交
  7. 18 1月, 2015 1 次提交
  8. 20 10月, 2014 1 次提交
  9. 31 7月, 2014 2 次提交
  10. 22 7月, 2014 1 次提交
  11. 10 7月, 2014 2 次提交
  12. 08 3月, 2014 1 次提交
  13. 06 1月, 2014 1 次提交
  14. 12 12月, 2013 1 次提交
  15. 26 11月, 2013 1 次提交
  16. 20 11月, 2013 1 次提交
  17. 03 10月, 2013 1 次提交
  18. 30 7月, 2013 1 次提交
    • M
      staging: nvec: re-enable the clock on resume · ca250b60
      Marc Dietrich 提交于
      On resume the slave controller is reinitialized. The tegra i2c master
      controller disables the clock at the end of the initialiation, propably
      to save some power, and enables it again on each transfer. We don't
      do this yet and also forgot to enable the clock on resume. Fix this
      copy-paste error by not disabling the clock after initialization.
      
      This didn't striked us yet because suspend/resume hasn't landed in mainline
      yet, but will soon.
      Signed-off-by: NMarc Dietrich <marvin24@gmx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ca250b60
  19. 25 6月, 2013 2 次提交
  20. 18 5月, 2013 1 次提交
  21. 17 5月, 2013 1 次提交
  22. 14 5月, 2013 5 次提交
  23. 26 3月, 2013 1 次提交
  24. 30 1月, 2013 2 次提交
  25. 29 1月, 2013 2 次提交
  26. 23 1月, 2013 1 次提交
  27. 22 11月, 2012 4 次提交