diff --git a/drivers/adc/adc_ltc2451.c b/drivers/adc/adc_ltc2451.c index 845aae958de4998..39d6ef9e3b65d93 100644 --- a/drivers/adc/adc_ltc2451.c +++ b/drivers/adc/adc_ltc2451.c @@ -23,7 +23,7 @@ struct ltc2451_data { }; static int ltc2451_channel_setup(const struct device *dev, - const struct adc_channel_cfg *channel_cfg) + const struct adc_channel_cfg *channel_cfg) { (void)dev; (void)channel_cfg; @@ -60,7 +60,7 @@ static int ltc2451_read_latest_conversion(const struct device *dev, if (err) { LOG_ERR("LTC read failed (err %d)", err); } else { - value_buf = (uint16_t*)sequence->buffer; + value_buf = (uint16_t *)sequence->buffer; value_buf[0] = (rd_buf[0] << 8) | rd_buf[1]; }