Skip to content

Commit 71983ba

Browse files
committed
iio: dac: Fix issues in AD5413 driver based on review
Signed-off-by: Bruce Tsao <[email protected]>
1 parent fba488a commit 71983ba

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

drivers/iio/dac/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ config AD5413
102102
Digital to Analog Converter.
103103

104104
To compile this driver as a module, choose M here: the
105-
module will be called ad5758.
105+
module will be called ad5413.
106106

107107
config AD5421
108108
tristate "Analog Devices AD5421 DAC driver"

drivers/iio/dac/ad5413.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@
5050
#define AD5413_REG_FREQ_MONITOR 0x18
5151
#define AD5413_REG_DEVICE_ID_3 0x1C
5252

53-
/* AD5413 Key Register (Address: 0x08) */
54-
#define AD5413_REG_KEY_REG_ADDR_SHIFT 16
55-
5653
/* Special Key Codes (bits[15:0]) */
5754
#define AD5413_REG_KEY_CODE_RESET_1 0x15FA
5855
#define AD5413_REG_KEY_CODE_RESET_2 0xAF51
@@ -73,7 +70,7 @@ struct ad5413_range {
7370
int max_uv;
7471
};
7572

76-
/**
73+
/*
7774
* struct ad5413_state - driver instance specific data
7875
* @spi: spi_device
7976
* @lock: mutex lock

0 commit comments

Comments
 (0)