i2c: stub: remove definition of DEBUG
Subsystems (3)
PATCH 1/1 i2c: stub: remove definition of DEBUG
From: Tom Rix <[email protected]>
Defining DEBUG should only be done in development. So remove DEBUG.
Signed-off-by Tom Rix <[email protected]>
--- drivers/i2c/i2c-stub.c | 1 - 1 file changed, 1 deletion(-)
drivers/i2c/i2c-stub.c +0 -1
@@ -7,7 +7,6 @@*/ -#define DEBUG 1#define pr_fmt (fmt) "i2c-stub: " fmt#include <linux/errno.h>
Signature · 1 line
2.27.0
Quoted 6 lines · On Wed, Jan 13, 2021 at 06:44:56PM -0800, [email protected] wrote:
From: Tom Rix <[email protected]>
Defining DEBUG should only be done in development. So remove DEBUG.
Signed-off-by Tom Rix <[email protected]>
Yes, we can still enable them easily with the Kconfg debug option for I2C core. Applied to for-next, thanks!