Skip to content
Permalink
Browse files

drivers/i2c_rv32m1_lpi2c: Remove accidently added debug code

Some stray debug code that causes a build error got added, remove it so
things build propertly.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information...
galak committed Jun 21, 2019
1 parent fe2062b commit a52df691d1ec71a267122213591fa1fc87e8ae14
Showing with 1 addition and 2 deletions.
  1. +1 −2 drivers/i2c/i2c_rv32m1_lpi2c.c
@@ -290,15 +290,14 @@ static const struct i2c_driver_api rv32m1_lpi2c_driver_api = {
static void rv32m1_lpi2c_irq_config_func_##id(struct device *dev) \
{ \
IRQ_CONNECT(DT_OPENISA_RV32M1_LPI2C_I2C_##id##_IRQ_0, \
KUMARDT_OPENISA_RV32M1_LPI2C_I2C_##id##_IRQ_0_PRI, \
DT_OPENISA_RV32M1_LPI2C_I2C_##id##_IRQ_0_PRI, \
rv32m1_lpi2c_isr, DEVICE_GET(rv32m1_lpi2c_##id), \
0); \
irq_enable(DT_OPENISA_RV32M1_LPI2C_I2C_##id##_IRQ_0); \
} \

#ifdef CONFIG_I2C_0
RV32M1_LPI2C_DEVICE(0)
#error KUMAR
#endif

#ifdef CONFIG_I2C_1

0 comments on commit a52df69

Please sign in to comment.
You can’t perform that action at this time.