iio: adc: ad7923: Remove the unused defines
authorDaniel Junho <djunho@gmail.com>
Tue, 17 Dec 2019 11:11:55 +0000 (08:11 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 29 Dec 2019 15:20:02 +0000 (15:20 +0000)
Removes the unused define AD7923_CHANNEL_x from the code.

Signed-off-by: Daniel Junho <djunho@gmail.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7923.c

index 3212eb4..969c06b 100644 (file)
 #define AD7923_PM_MODE_AS      (1)             /* auto shutdown */
 #define AD7923_PM_MODE_FS      (2)             /* full shutdown */
 #define AD7923_PM_MODE_OPS     (3)             /* normal operation */
-#define AD7923_CHANNEL_0       (0)             /* analog input 0 */
-#define AD7923_CHANNEL_1       (1)             /* analog input 1 */
-#define AD7923_CHANNEL_2       (2)             /* analog input 2 */
-#define AD7923_CHANNEL_3       (3)             /* analog input 3 */
 #define AD7923_SEQUENCE_OFF    (0)             /* no sequence fonction */
 #define AD7923_SEQUENCE_PROTECT        (2)             /* no interrupt write cycle */
 #define AD7923_SEQUENCE_ON     (3)             /* continuous sequence */