]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce0eaf63cf3c177793376be22c4223dbe0a41379
treefae6a9e0f18d864bfaefef8be52d3727f1e8b01f
parentaa1704095ba6e17ca0707d0454dd7a12affd3f32
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