i2c: save a variable in i2c_detect()

No need to populate a variable if it is used only in debug output which
may get compiled away anyhow.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
Wolfram Sang 2020-05-19 13:48:09 +02:00 • committed by Wolfram Sang
commit dd4f2ca965