1. 04 12月, 2013 1 次提交
    • L
      iio:ad5791: Mark transfer buffers as __be32 · ae8bb9b1
      Lars-Peter Clausen 提交于
      Fixes the following warnings from sparse:
      	drivers/iio/dac/ad5791.c:114:18: warning: incorrect type in assignment (different base types)
      	drivers/iio/dac/ad5791.c:114:18:    expected unsigned int [unsigned] [usertype] d32
      	drivers/iio/dac/ad5791.c:114:18:    got restricted __be32 [usertype] <noident>
      	drivers/iio/dac/ad5791.c:142:21: warning: incorrect type in assignment (different base types)
      	drivers/iio/dac/ad5791.c:142:21:    expected unsigned int [unsigned] [usertype] d32
      	drivers/iio/dac/ad5791.c:142:21:    got restricted __be32 [usertype] <noident>
      	drivers/iio/dac/ad5791.c:144:21: warning: incorrect type in assignment (different base types)
      	drivers/iio/dac/ad5791.c:144:21:    expected unsigned int [unsigned] [usertype] d32
      	drivers/iio/dac/ad5791.c:144:21:    got restricted __be32 [usertype] <noident>
      	drivers/iio/dac/ad5791.c:148:16: warning: cast to restricted __be32
      	drivers/iio/dac/ad5791.c:148:16: warning: cast to restricted __be32
      	drivers/iio/dac/ad5791.c:148:16: warning: cast to restricted __be32
      	drivers/iio/dac/ad5791.c:148:16: warning: cast to restricted __be32
      	drivers/iio/dac/ad5791.c:148:16: warning: cast to restricted __be32
      	drivers/iio/dac/ad5791.c:148:16: warning: cast to restricted __be32
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      ae8bb9b1
  2. 01 10月, 2013 1 次提交
  3. 16 9月, 2013 1 次提交
  4. 20 8月, 2013 1 次提交
  5. 18 3月, 2013 1 次提交
  6. 09 2月, 2013 1 次提交
  7. 04 1月, 2013 1 次提交
    • G
      Drivers: iio: remove __dev* attributes. · fc52692c
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, and __devexit
      from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Jonathan Cameron <jic23@cam.ac.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      fc52692c
  8. 27 12月, 2012 1 次提交
  9. 05 6月, 2012 5 次提交
  10. 15 5月, 2012 1 次提交
  11. 30 4月, 2012 1 次提交
    • L
      staging:iio: Streamline API function naming · 7cbb7537
      Lars-Peter Clausen 提交于
      Currently we use two different naming schemes in the IIO API, iio_verb_object
      and iio_object_verb. E.g iio_device_register and iio_allocate_device. This
      patches renames instances of the later to the former. The patch also renames allocate to
      alloc as this seems to be the preferred form throughout the kernel.
      
      In particular the following renames are performed by the patch:
      	iio_put_device -> iio_device_put
      	iio_allocate_device -> iio_device_alloc
      	iio_free_device -> iio_device_free
      	iio_get_trigger -> iio_trigger_get
      	iio_put_trigger -> iio_trigger_put
      	iio_allocate_trigger -> iio_trigger_alloc
      	iio_free_trigger -> iio_trigger_free
      
      The conversion was done with the following coccinelle patch with manual fixes to
      comments and documentation.
      
      <smpl>
      @@
      @@
      -iio_put_device
      +iio_device_put
      @@
      @@
      -iio_allocate_device
      +iio_device_alloc
      @@
      @@
      -iio_free_device
      +iio_device_free
      @@
      @@
      -iio_get_trigger
      +iio_trigger_get
      @@
      @@
      -iio_put_trigger
      +iio_trigger_put
      @@
      @@
      -iio_allocate_trigger
      +iio_trigger_alloc
      @@
      @@
      -iio_free_trigger
      +iio_trigger_free
      </smpl>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Acked-by: NJonathan Cameron <jic23@kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7cbb7537
  12. 26 4月, 2012 1 次提交
  13. 19 4月, 2012 1 次提交
  14. 10 12月, 2011 1 次提交
  15. 27 11月, 2011 3 次提交
  16. 18 11月, 2011 1 次提交
  17. 20 10月, 2011 4 次提交
  18. 18 10月, 2011 2 次提交
  19. 07 9月, 2011 3 次提交
  20. 26 8月, 2011 1 次提交
  21. 24 8月, 2011 1 次提交
  22. 29 6月, 2011 1 次提交
  23. 20 5月, 2011 1 次提交
  24. 04 5月, 2011 1 次提交
  25. 26 4月, 2011 2 次提交