diff options
Diffstat (limited to 'drivers/iio/common/hid-sensors/hid-sensor-trigger.c')
-rw-r--r-- | drivers/iio/common/hid-sensors/hid-sensor-trigger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/common/hid-sensors/hid-sensor-trigger.c b/drivers/iio/common/hid-sensors/hid-sensor-trigger.c index 92068cdbf8c7..ef0c495a8ef9 100644 --- a/drivers/iio/common/hid-sensors/hid-sensor-trigger.c +++ b/drivers/iio/common/hid-sensors/hid-sensor-trigger.c | |||
@@ -76,8 +76,8 @@ int hid_sensor_power_state(struct hid_sensor_common *st, bool state) | |||
76 | } | 76 | } |
77 | 77 | ||
78 | sensor_hub_get_feature(st->hsdev, st->power_state.report_id, | 78 | sensor_hub_get_feature(st->hsdev, st->power_state.report_id, |
79 | st->power_state.index, | 79 | st->power_state.index, |
80 | &state_val); | 80 | sizeof(state_val), &state_val); |
81 | return 0; | 81 | return 0; |
82 | } | 82 | } |
83 | EXPORT_SYMBOL(hid_sensor_power_state); | 83 | EXPORT_SYMBOL(hid_sensor_power_state); |