]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iio: adc: ade9000: remove unused AD9000_CHANNELS_PER_PHASE macro
authorGiorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com>
Fri, 27 Feb 2026 08:58:13 +0000 (12:58 +0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 28 Feb 2026 12:09:08 +0000 (12:09 +0000)
Remove the AD9000_CHANNELS_PER_PHASE macro which is unused, has a
misspelled prefix (AD9000 instead of ADE9000), and has an incorrect
value (10 instead of 11, there are 33 total channels and 3 phases, so 11
per phase).

Signed-off-by: Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ade9000.c

index 5dcc26a08970390f6dd64493724d7f6533906fd9..4be8df34428d85e8005d62e83ee58f49db27ecae 100644 (file)
@@ -283,7 +283,6 @@ enum ade9000_wfb_cfg {
 #define ADE9000_PHASE_C_POS_BIT                BIT(6)
 
 #define ADE9000_MAX_PHASE_NR           3
-#define AD9000_CHANNELS_PER_PHASE      10
 
 /*
  * Calculate register address for multi-phase device.