1. 30 Apr, 2012 2 commits
    • Lars-Peter Clausen's avatar
      staging:iio: Streamline API function naming · 7cbb7537
      Lars-Peter Clausen authored
      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: default avatarLars-Peter Clausen <lars@metafoo.de>
      Acked-by: default avatarJonathan Cameron <jic23@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7cbb7537
    • Roland Stigge's avatar
      staging: iio: lpc32xx-adc: Remove driver conflict due to device tree · 5d4a6789
      Roland Stigge authored
      Previously, the touchscreen and ADC drivers of the LPC32xx SoC had a Kconfig
      conflict declared because they use the same hardware. Upon the introduction of
      device tree support in both drivers, the conflict must be removed to enable
      the same kernel to support different hardware (configured via the device tree).
      Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      5d4a6789
  2. 26 Apr, 2012 2 commits
  3. 25 Apr, 2012 19 commits
  4. 24 Apr, 2012 17 commits