Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions drivers/gpio/gpio_adp5585.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,16 +143,16 @@
data->output |= BIT(pin);
}
if (bank == 0) {
/* reg_value for ADP5585_GPO_OUT_MODE */
/* reg_value for ADP5585_GPO_DATA_OUT */
reg_value = (uint8_t)data->output;
} else {
/* reg_value for ADP5585_GPO_OUT_MODE */
/* reg_value for ADP5585_GPO_DATA_OUT */
reg_value = (uint8_t)(data->output >> 8);
}
ret = i2c_reg_write_byte_dt(&parent_cfg->i2c_bus,
ADP5585_GPO_OUT_MODE_A + bank,
ADP5585_GPO_DATA_OUT_A + bank,
reg_value);
if (ret != 0) {

Check notice on line 155 in drivers/gpio/gpio_adp5585.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

drivers/gpio/gpio_adp5585.c:155 - ret = i2c_reg_write_byte_dt(&parent_cfg->i2c_bus, - ADP5585_GPO_DATA_OUT_A + bank, - reg_value); + ret = i2c_reg_write_byte_dt(&parent_cfg->i2c_bus, ADP5585_GPO_DATA_OUT_A + bank, + reg_value);

Check notice on line 155 in drivers/gpio/gpio_adp5585.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

drivers/gpio/gpio_adp5585.c:155 - ret = i2c_reg_write_byte_dt(&parent_cfg->i2c_bus, - ADP5585_GPO_DATA_OUT_A + bank, - reg_value); + ret = i2c_reg_write_byte_dt(&parent_cfg->i2c_bus, ADP5585_GPO_DATA_OUT_A + bank, + reg_value);

Check notice on line 155 in drivers/gpio/gpio_adp5585.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

drivers/gpio/gpio_adp5585.c:155 - ret = i2c_reg_write_byte_dt(&parent_cfg->i2c_bus, - ADP5585_GPO_DATA_OUT_A + bank, - reg_value); + ret = i2c_reg_write_byte_dt(&parent_cfg->i2c_bus, ADP5585_GPO_DATA_OUT_A + bank, + reg_value);

Check notice on line 155 in drivers/gpio/gpio_adp5585.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

drivers/gpio/gpio_adp5585.c:155 - ret = i2c_reg_write_byte_dt(&parent_cfg->i2c_bus, - ADP5585_GPO_DATA_OUT_A + bank, - reg_value); + ret = i2c_reg_write_byte_dt(&parent_cfg->i2c_bus, ADP5585_GPO_DATA_OUT_A + bank, + reg_value);
goto out;
}
/* reg_value for ADP5585_GPIO_DIRECTION */
Expand Down
Loading