From f0a05873d27725a6bd623a7391d38567143ed014 Mon Sep 17 00:00:00 2001 From: Ethan Duckett Date: Thu, 2 Nov 2023 10:28:24 +0000 Subject: [PATCH] drivers: adc: ltc2451: address compliance issues Compliance Signed-off-by: Ethan Duckett --- drivers/adc/adc_ltc2451.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]; }