diff options
-rw-r--r-- | drivers/iio/pressure/st_pressure_core.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/iio/pressure/st_pressure_core.c b/drivers/iio/pressure/st_pressure_core.c index 274cdecc535b..55df9a75eb3a 100644 --- a/drivers/iio/pressure/st_pressure_core.c +++ b/drivers/iio/pressure/st_pressure_core.c | |||
@@ -224,7 +224,6 @@ | |||
224 | static const struct iio_chan_spec st_press_1_channels[] = { | 224 | static const struct iio_chan_spec st_press_1_channels[] = { |
225 | { | 225 | { |
226 | .type = IIO_PRESSURE, | 226 | .type = IIO_PRESSURE, |
227 | .channel2 = IIO_NO_MOD, | ||
228 | .address = ST_PRESS_1_OUT_XL_ADDR, | 227 | .address = ST_PRESS_1_OUT_XL_ADDR, |
229 | .scan_index = 0, | 228 | .scan_index = 0, |
230 | .scan_type = { | 229 | .scan_type = { |
@@ -235,11 +234,9 @@ static const struct iio_chan_spec st_press_1_channels[] = { | |||
235 | }, | 234 | }, |
236 | .info_mask_separate = | 235 | .info_mask_separate = |
237 | BIT(IIO_CHAN_INFO_RAW) | BIT(IIO_CHAN_INFO_SCALE), | 236 | BIT(IIO_CHAN_INFO_RAW) | BIT(IIO_CHAN_INFO_SCALE), |
238 | .modified = 0, | ||
239 | }, | 237 | }, |
240 | { | 238 | { |
241 | .type = IIO_TEMP, | 239 | .type = IIO_TEMP, |
242 | .channel2 = IIO_NO_MOD, | ||
243 | .address = ST_TEMP_1_OUT_L_ADDR, | 240 | .address = ST_TEMP_1_OUT_L_ADDR, |
244 | .scan_index = 1, | 241 | .scan_index = 1, |
245 | .scan_type = { | 242 | .scan_type = { |
@@ -252,7 +249,6 @@ static const struct iio_chan_spec st_press_1_channels[] = { | |||
252 | BIT(IIO_CHAN_INFO_RAW) | | 249 | BIT(IIO_CHAN_INFO_RAW) | |
253 | BIT(IIO_CHAN_INFO_SCALE) | | 250 | BIT(IIO_CHAN_INFO_SCALE) | |
254 | BIT(IIO_CHAN_INFO_OFFSET), | 251 | BIT(IIO_CHAN_INFO_OFFSET), |
255 | .modified = 0, | ||
256 | }, | 252 | }, |
257 | IIO_CHAN_SOFT_TIMESTAMP(2) | 253 | IIO_CHAN_SOFT_TIMESTAMP(2) |
258 | }; | 254 | }; |
@@ -260,7 +256,6 @@ static const struct iio_chan_spec st_press_1_channels[] = { | |||
260 | static const struct iio_chan_spec st_press_lps001wp_channels[] = { | 256 | static const struct iio_chan_spec st_press_lps001wp_channels[] = { |
261 | { | 257 | { |
262 | .type = IIO_PRESSURE, | 258 | .type = IIO_PRESSURE, |
263 | .channel2 = IIO_NO_MOD, | ||
264 | .address = ST_PRESS_LPS001WP_OUT_L_ADDR, | 259 | .address = ST_PRESS_LPS001WP_OUT_L_ADDR, |
265 | .scan_index = 0, | 260 | .scan_index = 0, |
266 | .scan_type = { | 261 | .scan_type = { |
@@ -272,11 +267,9 @@ static const struct iio_chan_spec st_press_lps001wp_channels[] = { | |||
272 | .info_mask_separate = | 267 | .info_mask_separate = |
273 | BIT(IIO_CHAN_INFO_RAW) | | 268 | BIT(IIO_CHAN_INFO_RAW) | |
274 | BIT(IIO_CHAN_INFO_SCALE), | 269 | BIT(IIO_CHAN_INFO_SCALE), |
275 | .modified = 0, | ||
276 | }, | 270 | }, |
277 | { | 271 | { |
278 | .type = IIO_TEMP, | 272 | .type = IIO_TEMP, |
279 | .channel2 = IIO_NO_MOD, | ||
280 | .address = ST_TEMP_LPS001WP_OUT_L_ADDR, | 273 | .address = ST_TEMP_LPS001WP_OUT_L_ADDR, |
281 | .scan_index = 1, | 274 | .scan_index = 1, |
282 | .scan_type = { | 275 | .scan_type = { |
@@ -288,7 +281,6 @@ static const struct iio_chan_spec st_press_lps001wp_channels[] = { | |||
288 | .info_mask_separate = | 281 | .info_mask_separate = |
289 | BIT(IIO_CHAN_INFO_RAW) | | 282 | BIT(IIO_CHAN_INFO_RAW) | |
290 | BIT(IIO_CHAN_INFO_SCALE), | 283 | BIT(IIO_CHAN_INFO_SCALE), |
291 | .modified = 0, | ||
292 | }, | 284 | }, |
293 | IIO_CHAN_SOFT_TIMESTAMP(2) | 285 | IIO_CHAN_SOFT_TIMESTAMP(2) |
294 | }; | 286 | }; |
@@ -296,7 +288,6 @@ static const struct iio_chan_spec st_press_lps001wp_channels[] = { | |||
296 | static const struct iio_chan_spec st_press_lps22hb_channels[] = { | 288 | static const struct iio_chan_spec st_press_lps22hb_channels[] = { |
297 | { | 289 | { |
298 | .type = IIO_PRESSURE, | 290 | .type = IIO_PRESSURE, |
299 | .channel2 = IIO_NO_MOD, | ||
300 | .address = ST_PRESS_1_OUT_XL_ADDR, | 291 | .address = ST_PRESS_1_OUT_XL_ADDR, |
301 | .scan_index = 0, | 292 | .scan_index = 0, |
302 | .scan_type = { | 293 | .scan_type = { |
@@ -309,7 +300,6 @@ static const struct iio_chan_spec st_press_lps22hb_channels[] = { | |||
309 | BIT(IIO_CHAN_INFO_RAW) | | 300 | BIT(IIO_CHAN_INFO_RAW) | |
310 | BIT(IIO_CHAN_INFO_SCALE), | 301 | BIT(IIO_CHAN_INFO_SCALE), |
311 | .info_mask_shared_by_all = BIT(IIO_CHAN_INFO_SAMP_FREQ), | 302 | .info_mask_shared_by_all = BIT(IIO_CHAN_INFO_SAMP_FREQ), |
312 | .modified = 0, | ||
313 | }, | 303 | }, |
314 | { | 304 | { |
315 | .type = IIO_TEMP, | 305 | .type = IIO_TEMP, |