summaryrefslogtreecommitdiff
path: root/drivers/iio/addac
diff options
context:
space:
mode:
authorCosmin Tanislav <demonsingur@gmail.com>2022-11-24 17:25:59 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-24 19:23:57 +0000
commitf1e24342401a69da0519b289f0942fcd69e7db55 (patch)
tree4011ca59be89d7c10b1a097945c9c3af5592c596 /drivers/iio/addac
parent91f46207056d6af2052495f911901a5ff337e364 (diff)
iio: addac: ad74115: remove unused ad74115_dac_slew_rate_hz_tbl
This table was supposed to be used for handling the DAC rate, but it ended up being unused. Remove it. Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com> Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/r/20221124152559.7895-1-cosmin.tanislav@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/addac')
-rw-r--r--drivers/iio/addac/ad74115.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/iio/addac/ad74115.c b/drivers/iio/addac/ad74115.c
index 383b92e7b682..e6bc5eb3788d 100644
--- a/drivers/iio/addac/ad74115.c
+++ b/drivers/iio/addac/ad74115.c
@@ -317,10 +317,6 @@ static const unsigned int ad74115_dac_rate_step_tbl[][3] = {
{ AD74115_SLEW_MODE_LINEAR, AD74115_SLEW_STEP_22_2_PERCENT, AD74115_SLEW_RATE_240KHZ },
};
-static const unsigned int ad74115_dac_slew_rate_hz_tbl[] = {
- 4000, 64000, 150000, 240000
-};
-
static const unsigned int ad74115_rtd_excitation_current_ua_tbl[] = {
250, 500, 750, 1000
};