summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/iio_core_trigger.h
diff options
context:
space:
mode:
authorJonathan Cameron2011-10-06 18:14:35 +0200
committerGreg Kroah-Hartman2011-10-11 17:58:58 +0200
commitf8c6f4e9a40d47ce86a641eb20fb7c5a59f06ff0 (patch)
treee5eaa0cbc3094cdb88cbe71b67138df247dae610 /drivers/staging/iio/iio_core_trigger.h
parentStaging: iio/adc/ad7150: release lock on error (diff)
downloadkernel-qcow2-linux-f8c6f4e9a40d47ce86a641eb20fb7c5a59f06ff0.tar.gz
kernel-qcow2-linux-f8c6f4e9a40d47ce86a641eb20fb7c5a59f06ff0.tar.xz
kernel-qcow2-linux-f8c6f4e9a40d47ce86a641eb20fb7c5a59f06ff0.zip
staging:iio:core:naming: dev_info to indio_dev for consistency
We had a random missmatch of these two. Lets pick the most common and get rid of the other. This patch covers the core. Others will clean up the drivers. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/iio_core_trigger.h')
-rw-r--r--drivers/staging/iio/iio_core_trigger.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/drivers/staging/iio/iio_core_trigger.h b/drivers/staging/iio/iio_core_trigger.h
index 3e5195a82bca..523c288b776b 100644
--- a/drivers/staging/iio/iio_core_trigger.h
+++ b/drivers/staging/iio/iio_core_trigger.h
@@ -11,32 +11,33 @@
#ifdef CONFIG_IIO_TRIGGER
/**
* iio_device_register_trigger_consumer() - set up an iio_dev to use triggers
- * @dev_info: iio_dev associated with the device that will consume the trigger
+ * @indio_dev: iio_dev associated with the device that will consume the trigger
**/
-int iio_device_register_trigger_consumer(struct iio_dev *dev_info);
+
+int iio_device_register_trigger_consumer(struct iio_dev *indio_dev);
/**
* iio_device_unregister_trigger_consumer() - reverse the registration process
- * @dev_info: iio_dev associated with the device that consumed the trigger
+ * @indio_dev: iio_dev associated with the device that consumed the trigger
**/
-void iio_device_unregister_trigger_consumer(struct iio_dev *dev_info);
+void iio_device_unregister_trigger_consumer(struct iio_dev *indio_dev);
#else
/**
* iio_device_register_trigger_consumer() - set up an iio_dev to use triggers
- * @dev_info: iio_dev associated with the device that will consume the trigger
+ * @indio_dev: iio_dev associated with the device that will consume the trigger
**/
-static int iio_device_register_trigger_consumer(struct iio_dev *dev_info)
+static int iio_device_register_trigger_consumer(struct iio_dev *indio_dev)
{
return 0;
};
/**
* iio_device_unregister_trigger_consumer() - reverse the registration process
- * @dev_info: iio_dev associated with the device that consumed the trigger
+ * @indio_dev: iio_dev associated with the device that consumed the trigger
**/
-static void iio_device_unregister_trigger_consumer(struct iio_dev *dev_info)
+static void iio_device_unregister_trigger_consumer(struct iio_dev *indio_dev)
{
};