projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91f4620
)
iio: addac: ad74115: remove unused ad74115_dac_slew_rate_hz_tbl
author
Cosmin Tanislav
<demonsingur@gmail.com>
Thu, 24 Nov 2022 15:25:59 +0000
(17:25 +0200)
committer
Jonathan 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
patch
|
blob
|
history
diff --git
a/drivers/iio/addac/ad74115.c
b/drivers/iio/addac/ad74115.c
index 383b92e7b68265634ae606656d573c95cda84253..e6bc5eb3788df6579789059d369603a9dc874d05 100644
(file)
--- 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
};