i2c: smbus: don't abuse loop variable
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 12 Jan 2021 15:12:29 +0000 (16:12 +0100)
committerWolfram Sang <wsa@kernel.org>
Thu, 28 Jan 2021 09:13:57 +0000 (10:13 +0100)
commit265fec2aab03c84fc9ba7c00d43b3f22eba3ace2
treed787042f79e8a0c6b0b0f855fff6883ea2bb18ad
parent3928bbb0206bac100b7f4942356790aef758ed39
i2c: smbus: don't abuse loop variable

Don't use 'i' to carry data, make a specific variable for it. After the
move to memcpy recently, we can even remove 'i'.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/i2c-core-smbus.c