1. 19 4月, 2012 1 次提交
  2. 05 4月, 2012 2 次提交
  3. 20 3月, 2012 1 次提交
  4. 13 3月, 2012 1 次提交
  5. 27 2月, 2012 1 次提交
  6. 07 2月, 2012 2 次提交
  7. 02 1月, 2012 1 次提交
    • J
      drivers/gpio/gpio-tegra.c: use devm_request_and_ioremap · aedd4fdf
      Julia Lawall 提交于
      Reimplement a call to devm_request_mem_region followed by a call to ioremap
      or ioremap_nocache by a call to devm_request_and_ioremap.
      
      The semantic patch that makes this transformation is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @nm@
      expression myname;
      identifier i;
      @@
      
      struct platform_driver i = { .driver = { .name = myname } };
      
      @@
      expression dev,res,size;
      expression nm.myname;
      @@
      
      -if (!devm_request_mem_region(dev, res->start, size,
      -                              \(res->name\|dev_name(dev)\|myname\))) {
      -   ...
      -   return ...;
      -}
      ... when != res->start
      (
      -devm_ioremap(dev,res->start,size)
      +devm_request_and_ioremap(dev,res)
      |
      -devm_ioremap_nocache(dev,res->start,size)
      +devm_request_and_ioremap(dev,res)
      )
      ... when any
          when != res->start
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      aedd4fdf
  8. 14 10月, 2011 1 次提交
  9. 27 9月, 2011 1 次提交
  10. 24 8月, 2011 2 次提交
  11. 06 7月, 2011 1 次提交
  12. 16 6月, 2011 2 次提交
  13. 11 5月, 2011 1 次提交
  14. 31 3月, 2011 1 次提交
  15. 29 3月, 2011 4 次提交
  16. 23 2月, 2011 1 次提交
  17. 10 2月, 2011 1 次提交
  18. 27 1月, 2011 1 次提交
  19. 14 1月, 2011 1 次提交
  20. 22 10月, 2010 1 次提交
  21. 06 8月, 2010 1 次提交
    • E
      [ARM] tegra: add GPIO support · 3c92db9a
      Erik Gilling 提交于
      v2: fixes from Mike Rapoport:
      	- move gpio-names.h to arch/arm/mach-tegra
          fixes from Russell King
      	- include linux/io.h and linux/gpio.h instead of asm/io.h
      	  and asm/gpio.h
          additional changes:
          	- add macros to convert between irq and gpio numbers for platform data
      	- change for_each_bit to for_each_set_bit in gpio.c
      v3:
      	- minor bugfixes
      Signed-off-by: NColin Cross <ccross@android.com>
      Signed-off-by: NErik Gilling <konkers@android.com>
      3c92db9a