aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/iio/accel/hid-sensor-accel-3d.c2
-rw-r--r--drivers/iio/gyro/hid-sensor-gyro-3d.c2
-rw-r--r--drivers/iio/light/hid-sensor-als.c2
-rw-r--r--drivers/iio/magnetometer/hid-sensor-magn-3d.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/iio/accel/hid-sensor-accel-3d.c b/drivers/iio/accel/hid-sensor-accel-3d.c
index 33aa97cb8e5e..c593eb239270 100644
--- a/drivers/iio/accel/hid-sensor-accel-3d.c
+++ b/drivers/iio/accel/hid-sensor-accel-3d.c
@@ -212,7 +212,7 @@ static void hid_sensor_push_data(struct iio_dev *indio_dev, u8 *data, int len)
212 datum_sz); 212 datum_sz);
213 return; 213 return;
214 } 214 }
215 buffer->access->store_to(buffer, (u8 *)data, timestamp); 215 iio_push_to_buffer(buffer, (u8 *)data, timestamp);
216} 216}
217 217
218/* Callback handler to send event after all samples are received and captured */ 218/* Callback handler to send event after all samples are received and captured */
diff --git a/drivers/iio/gyro/hid-sensor-gyro-3d.c b/drivers/iio/gyro/hid-sensor-gyro-3d.c
index 50ec09b0b368..94a4740135e7 100644
--- a/drivers/iio/gyro/hid-sensor-gyro-3d.c
+++ b/drivers/iio/gyro/hid-sensor-gyro-3d.c
@@ -212,7 +212,7 @@ static void hid_sensor_push_data(struct iio_dev *indio_dev, u8 *data, int len)
212 datum_sz); 212 datum_sz);
213 return; 213 return;
214 } 214 }
215 buffer->access->store_to(buffer, (u8 *)data, timestamp); 215 iio_push_to_buffer(buffer, (u8 *)data, timestamp);
216} 216}
217 217
218/* Callback handler to send event after all samples are received and captured */ 218/* Callback handler to send event after all samples are received and captured */
diff --git a/drivers/iio/light/hid-sensor-als.c b/drivers/iio/light/hid-sensor-als.c
index 2cff7d5167b2..b3c8e91b2c8d 100644
--- a/drivers/iio/light/hid-sensor-als.c
+++ b/drivers/iio/light/hid-sensor-als.c
@@ -191,7 +191,7 @@ static void hid_sensor_push_data(struct iio_dev *indio_dev, u8 *data, int len)
191 datum_sz); 191 datum_sz);
192 return; 192 return;
193 } 193 }
194 buffer->access->store_to(buffer, (u8 *)data, timestamp); 194 iio_push_to_buffer(buffer, (u8 *)data, timestamp);
195} 195}
196 196
197/* Callback handler to send event after all samples are received and captured */ 197/* Callback handler to send event after all samples are received and captured */
diff --git a/drivers/iio/magnetometer/hid-sensor-magn-3d.c b/drivers/iio/magnetometer/hid-sensor-magn-3d.c
index 07591f443554..397704eded97 100644
--- a/drivers/iio/magnetometer/hid-sensor-magn-3d.c
+++ b/drivers/iio/magnetometer/hid-sensor-magn-3d.c
@@ -213,7 +213,7 @@ static void hid_sensor_push_data(struct iio_dev *indio_dev, u8 *data, int len)
213 datum_sz); 213 datum_sz);
214 return; 214 return;
215 } 215 }
216 buffer->access->store_to(buffer, (u8 *)data, timestamp); 216 iio_push_to_buffer(buffer, (u8 *)data, timestamp);
217} 217}
218 218
219/* Callback handler to send event after all samples are received and captured */ 219/* Callback handler to send event after all samples are received and captured */