Skip to content

Commit

Permalink
projects:ad7134_iio: Removed debug attribute
Browse files Browse the repository at this point in the history
Removed debug attributes

Signed-off-by: Janani Sunil <[email protected]>
  • Loading branch information
jansunil committed Oct 30, 2023
1 parent bf0105b commit f09185a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions projects/ad7134_iio/app/ad7134_iio.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,16 +318,6 @@ static struct iio_attribute global_attributes[] = {
END_ATTRIBUTES_ARRAY
};

/* IIOD debug attributes list */
static struct iio_attribute debug_attributes[] = {
{
.name = "direct_reg_access",
.show = NULL,
.store = NULL,
},
END_ATTRIBUTES_ARRAY
};

/* IIOD channels configurations */
struct scan_type chn_scan = {
.sign = 'u',
Expand Down Expand Up @@ -662,7 +652,6 @@ static int32_t iio_ad7134_init(struct iio_device **desc)
iio_ad7134_channels[0]);
iio_ad7134_inst->channels = iio_ad7134_channels;
iio_ad7134_inst->attributes = global_attributes;
iio_ad7134_inst->debug_attributes = debug_attributes;
iio_ad7134_inst->debug_reg_read = debug_reg_read;
iio_ad7134_inst->debug_reg_write = debug_reg_write;
iio_ad7134_inst->pre_enable = iio_ad7134_prepare_transfer;
Expand Down

0 comments on commit f09185a

Please sign in to comment.