summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2020-02-03 21:31:26 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-02-14 16:06:24 +0100
commit55f82c00b2f345eed031ed189b16b1b2d8689901 (patch)
treeae4c1592848a02afe0f88ef43c95f3ba2aa76b61 /drivers/iio
parentiio: dac: ltc2632: add support for LTC2636 family (diff)
downloadlinux-55f82c00b2f345eed031ed189b16b1b2d8689901.tar.xz
linux-55f82c00b2f345eed031ed189b16b1b2d8689901.zip
iio: dac: ltc2632: remove some unused defines
These two defines are unused since the driver was introduced in commit 02b829f9e11f ("iio: dac: Add support for ltc2632 DACs"). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/dac/ltc2632.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/iio/dac/ltc2632.c b/drivers/iio/dac/ltc2632.c
index 1e7ffa0f6071..7adc91056aa1 100644
--- a/drivers/iio/dac/ltc2632.c
+++ b/drivers/iio/dac/ltc2632.c
@@ -12,9 +12,6 @@
#include <linux/iio/iio.h>
#include <linux/regulator/consumer.h>
-#define LTC2632_ADDR_DAC0 0x0
-#define LTC2632_ADDR_DAC1 0x1
-
#define LTC2632_CMD_WRITE_INPUT_N 0x0
#define LTC2632_CMD_UPDATE_DAC_N 0x1
#define LTC2632_CMD_WRITE_INPUT_N_UPDATE_ALL 0x2