mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
Merge tag 'regmap-v7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap
Pull regmap update from Mark Brown: "This time around we just have a single fix for a sparse warning" * tag 'regmap-v7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap: regmap-i2c: fix sparse warning in regmap_smbus_word_write_reg16
This commit is contained in:
commit
aaee7820e2
1 file changed
+1
-1
@@ -337,7 +337,7 @@ static int regmap_smbus_word_write_reg16(void *context, const void *data,
|
||||
val = ((u8 *)data)[2];
|
||||
|
||||
return i2c_smbus_write_word_data(i2c, addr_hi,
|
||||
cpu_to_le16(((u16)val << 8) | addr_lo));
|
||||
((u16)val << 8) | addr_lo);
|
||||
}
|
||||
|
||||
static const struct regmap_bus regmap_smbus_byte_word_reg16 = {
|
||||
|
||||
Reference in new issue
Block a user