diff options
author | Alexander Holler | 2012-12-15 13:45:00 +0100 |
---|---|---|
committer | Jonathan Cameron | 2013-01-06 12:48:11 +0100 |
commit | e07c6d170ccec9e7377a43a2999b87b860c642e9 (patch) | |
tree | 6228edfe3d3c7652858e1a7740e1c89bb5a36b87 /drivers/rtc | |
parent | rtc: add rtc-driver for HID sensors of type time (diff) | |
download | kernel-qcow2-linux-e07c6d170ccec9e7377a43a2999b87b860c642e9.tar.gz kernel-qcow2-linux-e07c6d170ccec9e7377a43a2999b87b860c642e9.tar.xz kernel-qcow2-linux-e07c6d170ccec9e7377a43a2999b87b860c642e9.zip |
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 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-hid-sensor-time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-hid-sensor-time.c b/drivers/rtc/rtc-hid-sensor-time.c index 25cac6ec374d..0438c9ee9a3b 100644 --- a/drivers/rtc/rtc-hid-sensor-time.c +++ b/drivers/rtc/rtc-hid-sensor-time.c @@ -39,7 +39,7 @@ enum hid_time_channel { struct hid_time_state { struct hid_sensor_hub_callbacks callbacks; - struct hid_sensor_iio_common common_attributes; + struct hid_sensor_common common_attributes; struct hid_sensor_hub_attribute_info info[TIME_RTC_CHANNEL_MAX]; struct rtc_time last_time; spinlock_t lock_last_time; |