summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ad3552r.c
diff options
context:
space:
mode:
authorAngelo Dureghello <adureghello@baylibre.com>2024-05-22 17:01:41 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-06-04 20:53:07 +0200
commitc1db755b6a229d1a5d7d3cb5371e82855874398c (patch)
tree9eb6c2db28a64f408e76031f8ff1cd3a0ef38c7c /drivers/iio/dac/ad3552r.c
parentiio: dac: ad3552r: change AD3552R_NUM_CH define name (diff)
downloadlinux-c1db755b6a229d1a5d7d3cb5371e82855874398c.tar.xz
linux-c1db755b6a229d1a5d7d3cb5371e82855874398c.zip
iio: dac: ad3552r: uniform structure names
Use same driver file name (ad3552r) for structure names used for all variants. Signed-off-by: Angelo Dureghello <adureghello@baylibre.com> Reviewed-by: Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20240522150141.1776196-7-adureghello@baylibre.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac/ad3552r.c')
-rw-r--r--drivers/iio/dac/ad3552r.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/dac/ad3552r.c b/drivers/iio/dac/ad3552r.c
index dac5b60cbd5e..ddc6c262f801 100644
--- a/drivers/iio/dac/ad3552r.c
+++ b/drivers/iio/dac/ad3552r.c
@@ -139,7 +139,7 @@ enum ad3552r_ch_vref_select {
AD3552R_EXTERNAL_VREF_PIN_INPUT
};
-enum ad3542r_id {
+enum ad3552r_id {
AD3541R_ID = 0x400b,
AD3542R_ID = 0x4009,
AD3551R_ID = 0x400a,
@@ -265,7 +265,7 @@ struct ad3552r_ch_data {
struct ad3552r_model_data {
const char *model_name;
- enum ad3542r_id chip_id;
+ enum ad3552r_id chip_id;
unsigned int num_hw_channels;
const s32 (*ranges_table)[2];
int num_ranges;