Skip to content

Commit 547b88b

Browse files
Shetty-Anushbuha
authored andcommitted
drivers:adc:ad7768-1: Remove data_frame_byte field from ad77681_init_param
Remove unused data_frame_byte field from ad77681_init_param and ad77681_setup() Signed-off-by: Anush Shetty <[email protected]>
1 parent a2b595a commit 547b88b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

drivers/adc/ad7768-1/ad77681.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1779,7 +1779,6 @@ int32_t ad77681_setup(struct ad77681_dev **device,
17791779
dev->vref = init_param.vref;
17801780
dev->mclk = init_param.mclk;
17811781
dev->sample_rate = init_param.sample_rate;
1782-
dev->data_frame_byte = init_param.data_frame_byte;
17831782

17841783
ret = no_os_spi_init(&dev->spi_desc, &init_param.spi_eng_dev_init);
17851784
if (ret < 0) {

drivers/adc/ad7768-1/ad77681.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,6 @@ struct ad77681_init_param {
562562
uint16_t vref;
563563
uint16_t mclk;
564564
uint32_t sample_rate;
565-
uint8_t data_frame_byte;
566565
};
567566

568567
uint8_t ad77681_compute_crc8(uint8_t *data,

0 commit comments

Comments
 (0)