mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
regmap: Update for v7.2
This time around we just have a single fix for a sparse warning. -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmov92wACgkQJNaLcl1U h9Dojwf+LMYo+n8YqxjOvmvQHGiRnGSH0BdEdadN4k/5j0DY+B7AqH5gPpXWoSzz hdXscBgwVPz44qlm2dhlbO4ZS2mZzppzBMZ2asvnwNpQ5+UcFYpmkrHPz8FdpaLb D496NX3tdxTFDjnWUK88oBnbAbyB5u4BB2wlHa3WoPz9zrpbjMZggLGSsByRt88Q g1QLenUGaSIlPIS2CgNdDqqCSzzVnkDVX0gL8xhFVt29lSKk/N81PGf1RRajCYKt E9dPPzIsKPcFU7WOtxX73UO4SVhyAxk1hoiTZzuWFCaU3rUUbw2ha1wEEjMH7YCo gwzOb+3or4FK+ILyp+9NSuXkhrDjeg== =hGZr -----END PGP SIGNATURE----- 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
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user