summaryrefslogtreecommitdiff
path: root/driver/regulator_ir357x.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/regulator_ir357x.c')
-rw-r--r--driver/regulator_ir357x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/regulator_ir357x.c b/driver/regulator_ir357x.c
index d2aaeccd99..0e88eeaf37 100644
--- a/driver/regulator_ir357x.c
+++ b/driver/regulator_ir357x.c
@@ -16,8 +16,8 @@
#define CPUTS(outstr) cputs(CC_CHIPSET, outstr)
#define CPRINTF(format, args...) cprintf(CC_CHIPSET, format, ## args)
-/* 8-bit I2C address */
-#define IR357x_I2C_ADDR (0x8 << 1)
+/* I2C address */
+#define IR357x_I2C_ADDR__7bf (0x8)
struct ir_setting {
uint8_t reg;