iio: addac: ad74115: remove unused ad74115_dac_slew_rate_hz_tbl
authorCosmin Tanislav <demonsingur@gmail.com>
Thu, 24 Nov 2022 15:25:59 +0000 (17:25 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 24 Nov 2022 19:23:57 +0000 (19:23 +0000)
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>
drivers/iio/addac/ad74115.c

index 383b92e..e6bc5eb 100644 (file)
@@ -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
 };