1. 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
  2. 05 6月, 2012 4 次提交
  3. 15 5月, 2012 1 次提交
  4. 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
  5. 26 4月, 2012 1 次提交
  6. 19 4月, 2012 1 次提交
  7. 27 11月, 2011 2 次提交
  8. 18 11月, 2011 1 次提交
  9. 18 10月, 2011 2 次提交
  10. 17 9月, 2011 1 次提交
  11. 07 9月, 2011 3 次提交
  12. 26 8月, 2011 1 次提交
  13. 06 7月, 2011 1 次提交
    • D
      Staging: iio: some uninitialized variable bugs · 03bda05d
      Dan Carpenter 提交于
      There were some uninitialized variable warnings in iio.  Two of
      these came from the recent changes to how the private data was
      allocated in 83f0422d "staging:iio:accel:sca3000: allocate
      state in iio_dev and use iio_priv to access."
      
      drivers/staging/iio/accel/sca3000_core.c: In function 'sca3000_probe':
      drivers/staging/iio/accel/sca3000_core.c:1137:9: warning: 'st' may be used uninitialized in this function
      drivers/staging/iio/adc/ad7291.c: In function 'ad7291_probe':
      drivers/staging/iio/adc/ad7291.c:805:15: warning: 'chip' may be used uninitialized in this function
      drivers/staging/iio/dac/ad5624r_spi.c: In function 'ad5624r_probe':
      drivers/staging/iio/dac/ad5624r_spi.c:228:24: warning: 'st' may be used uninitialized in this function
      Signed-off-by: NDan Carpenter <error27@gmail.com>
      Acked-by: NJonathan Cameron <jic23@cam.ac.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      03bda05d
  14. 29 6月, 2011 1 次提交
  15. 20 5月, 2011 2 次提交
  16. 26 4月, 2011 1 次提交
  17. 15 3月, 2011 1 次提交
  18. 10 3月, 2011 1 次提交
  19. 20 11月, 2010 4 次提交
  20. 10 11月, 2010 1 次提交