alistair23-linux/drivers/staging/iio/accel
Lars-Peter Clausen 7cbb753701 staging:iio: Streamline API function naming
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: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-29 21:23:49 -04:00
..
adis16201.h staging:iio: tree wide IIO_RING_BUFFER config symbol to IIO_BUFFER 2011-09-26 17:31:53 -07:00
adis16201_core.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
adis16201_ring.c IIO: Move core headers to include/linux/iio 2012-04-25 11:01:43 -07:00
adis16201_trigger.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
adis16203.h staging:iio: tree wide IIO_RING_BUFFER config symbol to IIO_BUFFER 2011-09-26 17:31:53 -07:00
adis16203_core.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
adis16203_ring.c IIO: Move core headers to include/linux/iio 2012-04-25 11:01:43 -07:00
adis16203_trigger.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
adis16204.h staging:iio: tree wide IIO_RING_BUFFER config symbol to IIO_BUFFER 2011-09-26 17:31:53 -07:00
adis16204_core.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
adis16204_ring.c IIO: Move core headers to include/linux/iio 2012-04-25 11:01:43 -07:00
adis16204_trigger.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
adis16209.h staging:iio: tree wide IIO_RING_BUFFER config symbol to IIO_BUFFER 2011-09-26 17:31:53 -07:00
adis16209_core.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
adis16209_ring.c IIO: Move core headers to include/linux/iio 2012-04-25 11:01:43 -07:00
adis16209_trigger.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
adis16220.h staging:iio:accel:adis16220 allocate tx and rx in state plus state via iio_priv 2011-06-28 14:39:35 -07:00
adis16220_core.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
adis16240.h staging:iio: tree wide IIO_RING_BUFFER config symbol to IIO_BUFFER 2011-09-26 17:31:53 -07:00
adis16240_core.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
adis16240_ring.c IIO: Move core headers to include/linux/iio 2012-04-25 11:01:43 -07:00
adis16240_trigger.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
Kconfig staging:iio: gpio build dependency fixing 2011-10-17 15:25:28 -07:00
kxsd9.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
lis3l02dq.h staging:iio: Setup buffer access functions when allocating the buffer 2012-02-09 10:03:51 -08:00
lis3l02dq_core.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
lis3l02dq_ring.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
Makefile staging:iio: tree wide IIO_RING_BUFFER config symbol to IIO_BUFFER 2011-09-26 17:31:53 -07:00
sca3000.h drivers:staging:iio Fix typos and comments in staging iio. 2012-03-02 16:33:52 -08:00
sca3000_core.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
sca3000_ring.c IIO: Move core headers to include/linux/iio 2012-04-25 11:01:43 -07:00