Based on a comment from Jonathan that he would not do this kludgy define-then-use for all the sensor properties today, refactor all the ST sensors by inlining the per-sensor data. Linus Walleij (4): iio: accel: st_accel: inline per-sensor data iio: gyro: st_gyro: inline per-sensor data iio: magn: st_magn: inline per-sensor data iio: pressure: st_pressure: inline per-sensor data drivers/iio/accel/st_accel_core.c | 538 +++++++++++--------------------- drivers/iio/gyro/st_gyro_core.c | 205 ++++-------- drivers/iio/magnetometer/st_magn_core.c | 376 ++++++++-------------- drivers/iio/pressure/st_pressure_core.c | 257 ++++++--------- 4 files changed, 460 insertions(+), 916 deletions(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html