diff options
author | Alexander Holler <holler@ahsoftware.de> | 2012-12-15 07:45:00 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-01-06 06:48:11 -0500 |
commit | e07c6d170ccec9e7377a43a2999b87b860c642e9 (patch) | |
tree | 6228edfe3d3c7652858e1a7740e1c89bb5a36b87 /include/linux/hid-sensor-hub.h | |
parent | 62e00cb9a39a889c39a4241645e860284a975e6d (diff) |
hid: iio: rename struct hid_sensor_iio_common to hid_sensor_common
The structure with common attributes for hid-sensors isn't specific
to the iio-subsystem, so rename it to hid_sensor_common.
Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/hid-sensor-hub.h')
-rw-r--r-- | include/linux/hid-sensor-hub.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/hid-sensor-hub.h b/include/linux/hid-sensor-hub.h index e6265f94d816..ecefb7311dd6 100644 --- a/include/linux/hid-sensor-hub.h +++ b/include/linux/hid-sensor-hub.h | |||
@@ -161,7 +161,7 @@ int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, | |||
161 | /* hid-sensor-attributes */ | 161 | /* hid-sensor-attributes */ |
162 | 162 | ||
163 | /* Common hid sensor iio structure */ | 163 | /* Common hid sensor iio structure */ |
164 | struct hid_sensor_iio_common { | 164 | struct hid_sensor_common { |
165 | struct hid_sensor_hub_device *hsdev; | 165 | struct hid_sensor_hub_device *hsdev; |
166 | struct platform_device *pdev; | 166 | struct platform_device *pdev; |
167 | unsigned usage_id; | 167 | unsigned usage_id; |
@@ -185,14 +185,14 @@ static inline int hid_sensor_convert_exponent(int unit_expo) | |||
185 | 185 | ||
186 | int hid_sensor_parse_common_attributes(struct hid_sensor_hub_device *hsdev, | 186 | int hid_sensor_parse_common_attributes(struct hid_sensor_hub_device *hsdev, |
187 | u32 usage_id, | 187 | u32 usage_id, |
188 | struct hid_sensor_iio_common *st); | 188 | struct hid_sensor_common *st); |
189 | int hid_sensor_write_raw_hyst_value(struct hid_sensor_iio_common *st, | 189 | int hid_sensor_write_raw_hyst_value(struct hid_sensor_common *st, |
190 | int val1, int val2); | 190 | int val1, int val2); |
191 | int hid_sensor_read_raw_hyst_value(struct hid_sensor_iio_common *st, | 191 | int hid_sensor_read_raw_hyst_value(struct hid_sensor_common *st, |
192 | int *val1, int *val2); | 192 | int *val1, int *val2); |
193 | int hid_sensor_write_samp_freq_value(struct hid_sensor_iio_common *st, | 193 | int hid_sensor_write_samp_freq_value(struct hid_sensor_common *st, |
194 | int val1, int val2); | 194 | int val1, int val2); |
195 | int hid_sensor_read_samp_freq_value(struct hid_sensor_iio_common *st, | 195 | int hid_sensor_read_samp_freq_value(struct hid_sensor_common *st, |
196 | int *val1, int *val2); | 196 | int *val1, int *val2); |
197 | 197 | ||
198 | #endif | 198 | #endif |