diff options
Diffstat (limited to 'drivers/hwmon/tmp102.c')
-rw-r--r-- | drivers/hwmon/tmp102.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwmon/tmp102.c b/drivers/hwmon/tmp102.c index dfc40c740d07..6778283e36f9 100644 --- a/drivers/hwmon/tmp102.c +++ b/drivers/hwmon/tmp102.c | |||
@@ -212,7 +212,8 @@ static const struct regmap_config tmp102_regmap_config = { | |||
212 | .volatile_reg = tmp102_is_volatile_reg, | 212 | .volatile_reg = tmp102_is_volatile_reg, |
213 | .val_format_endian = REGMAP_ENDIAN_BIG, | 213 | .val_format_endian = REGMAP_ENDIAN_BIG, |
214 | .cache_type = REGCACHE_RBTREE, | 214 | .cache_type = REGCACHE_RBTREE, |
215 | .use_single_rw = true, | 215 | .use_single_read = true, |
216 | .use_single_write = true, | ||
216 | }; | 217 | }; |
217 | 218 | ||
218 | static int tmp102_probe(struct i2c_client *client, | 219 | static int tmp102_probe(struct i2c_client *client, |