Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: adc: ade9000: remove unused AD9000_CHANNELS_PER_PHASE macro

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>

authored by

Giorgi Tchankvetadze and committed by
Jonathan Cameron
aac15061 82035b16

-1
-1
drivers/iio/adc/ade9000.c
··· 283 283 #define ADE9000_PHASE_C_POS_BIT BIT(6) 284 284 285 285 #define ADE9000_MAX_PHASE_NR 3 286 - #define AD9000_CHANNELS_PER_PHASE 10 287 286 288 287 /* 289 288 * Calculate register address for multi-phase device.