Changes since v1: - add missing flag to read_flag_mask in hts221_spi_regmap_config - drop hts221_write_with_mask() and always use regmap_update_bits() Lorenzo Bianconi (2): iio: humidity: hts221: move common code in hts221_core iio: humidity: hts221: add regmap API support drivers/iio/humidity/Kconfig | 2 + drivers/iio/humidity/hts221.h | 22 +----- drivers/iio/humidity/hts221_buffer.c | 37 +++++----- drivers/iio/humidity/hts221_core.c | 127 +++++++++++++++-------------------- drivers/iio/humidity/hts221_i2c.c | 76 +++++---------------- drivers/iio/humidity/hts221_spi.c | 93 +++++-------------------- 6 files changed, 115 insertions(+), 242 deletions(-) -- 2.13.6 -- 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