Skip to content

Commit 11aa529

Browse files
Angus Gardnerjic23
authored andcommitted
staging: iio: ad9834: fix chip name typo in comments
Two comments incorrectly refer to 'AD9843' instead of 'AD9834'. Fix the copy-paste typo. Signed-off-by: Angus Gardner <angusg778@gmail.com> Reviewed-by: Maxwell Doose <m32285159@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
1 parent 8b8e850 commit 11aa529

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/staging/iio/frequency/ad9834.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ static ssize_t ad9834_write(struct device *dev,
167167
break;
168168
case AD9834_OPBITEN:
169169
if (st->control & AD9834_MODE) {
170-
ret = -EINVAL; /* AD9843 reserved mode */
170+
ret = -EINVAL; /* AD9834 reserved mode */
171171
break;
172172
}
173173

@@ -242,7 +242,7 @@ static ssize_t ad9834_store_wavetype(struct device *dev,
242242
st->control &= ~AD9834_OPBITEN;
243243
st->control |= AD9834_MODE;
244244
} else if (st->control & AD9834_OPBITEN) {
245-
ret = -EINVAL; /* AD9843 reserved mode */
245+
ret = -EINVAL; /* AD9834 reserved mode */
246246
} else {
247247
st->control |= AD9834_MODE;
248248
}

0 commit comments

Comments
 (0)