Message ID | 20210114024456.1752286-1-trix@redhat.com |
---|---|
State | Accepted |
Commit | bed3139613ea1665f7bbd0a53b247e7b2d43e2b1 |
Headers | show |
Series | i2c: stub: remove definition of DEBUG | expand |
On Wed, Jan 13, 2021 at 06:44:56PM -0800, trix@redhat.com wrote: > From: Tom Rix <trix@redhat.com> > > Defining DEBUG should only be done in development. > So remove DEBUG. > > Signed-off-by: Tom Rix <trix@redhat.com> Yes, we can still enable them easily with the Kconfg debug option for I2C core. Applied to for-next, thanks!
diff --git a/drivers/i2c/i2c-stub.c b/drivers/i2c/i2c-stub.c index 537a598e22db..d642cad219d9 100644 --- a/drivers/i2c/i2c-stub.c +++ b/drivers/i2c/i2c-stub.c @@ -7,7 +7,6 @@ */ -#define DEBUG 1 #define pr_fmt(fmt) "i2c-stub: " fmt #include <linux/errno.h>