i2c: core: Make debug message even more debuggish
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 28 May 2021 09:13:50 +0000 (12:13 +0300)
committerWolfram Sang <wsa@kernel.org>
Fri, 28 May 2021 14:01:49 +0000 (16:01 +0200)
commitcb3c66af9585c0301a772332e195ead1fe3b29cf
treefae6a9e0f18d864bfaefef8be52d3727f1e8b01f
parent92b7716f4c54cb61b30e4680ea436a9e0cc6f4de
i2c: core: Make debug message even more debuggish

One may notice that dev_printk(KERN_DEBUG ...) is *not* an equivalent
to dev_dbg(). It will be printed whenever loglevel is high enough.
And currently it will be the only message in the I²C core in some
configurations that got printed under above conditions.

Moving to dev_dbg() will hide it in the configurations where Dynamic Debug
is enabled and hence align with all other debug messages in the I²C core..

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/i2c-core-base.c