diff options
Diffstat (limited to 'drivers/mfd/s5m-core.c')
-rw-r--r-- | drivers/mfd/s5m-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/s5m-core.c b/drivers/mfd/s5m-core.c index 8b8cf85256c..578e12e7f67 100644 --- a/drivers/mfd/s5m-core.c +++ b/drivers/mfd/s5m-core.c @@ -74,7 +74,7 @@ EXPORT_SYMBOL_GPL(s5m_reg_write); int s5m_bulk_write(struct s5m87xx_dev *s5m87xx, u8 reg, int count, u8 *buf) { - return regmap_raw_write(s5m87xx->regmap, reg, buf, count * sizeof(u16)); + return regmap_raw_write(s5m87xx->regmap, reg, buf, count); } EXPORT_SYMBOL_GPL(s5m_bulk_write); |