summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJinyoung Park <jinyoungp@nvidia.com>2013-11-29 14:58:59 +0900
committerHarry Hong <hhong@nvidia.com>2013-12-01 22:12:54 -0800
commitcd6f59a1958fda8475b8e4beaf6b845df4658249 (patch)
tree5d37134b00b90a9c986c555974e59eb2f2b24bff /include
parentbc316340a5c8e761e9430f6857c0434ce1f9ac66 (diff)
iio: staging: adc: palmas: Rename wakeup to auto conversion
Rename wakeup to auto conversion. Bug 1366274 Change-Id: Ice678d86050a5c82a45dae3b6bc599e434a812b6 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/336847 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/palmas.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h
index 9d294ca573ec..973bdb58462d 100644
--- a/include/linux/mfd/palmas.h
+++ b/include/linux/mfd/palmas.h
@@ -208,12 +208,12 @@ struct palmas_rtc_platform_data {
};
/*
- * ADC wakeup property: Wakup the system from suspend when threshold crossed.
+ * ADC auto_conv property: Generate interrupt when threshold crossed.
* @adc_channel_number: ADC channel number for monitoring.
* @adc_high_threshold: ADC High raw data for upper threshold to generate int.
* @adc_low_threshold: ADC low raw data for lower threshold to generate int.
*/
-struct palmas_adc_wakeup_property {
+struct palmas_adc_auto_conv_property {
int adc_channel_number;
int adc_high_threshold;
int adc_low_threshold;
@@ -227,8 +227,8 @@ struct palmas_gpadc_platform_data {
struct iio_map *iio_maps;
int auto_conversion_period_ms;
- struct palmas_adc_wakeup_property *adc_wakeup1_data;
- struct palmas_adc_wakeup_property *adc_wakeup2_data;
+ struct palmas_adc_auto_conv_property *adc_auto_conv1_data;
+ struct palmas_adc_auto_conv_property *adc_auto_conv2_data;
};
struct palmas_pinctrl_config {