summaryrefslogtreecommitdiff
path: root/include/linux/start_kernel.h
diff options
context:
space:
mode:
authorGiorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com>2026-03-02 08:50:36 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-02 23:03:43 +0300
commit5c3cf14b82f723ecaef7495fffcfe947e1c4d11e (patch)
tree5d2b9d3d2ad0a04c45558288c650ca28fc08874b /include/linux/start_kernel.h
parentdad46509b63b64f0a56f12caec0f60c8503e26a5 (diff)
downloadlinux-5c3cf14b82f723ecaef7495fffcfe947e1c4d11e.tar.xz
iio: adc: ade9000: remove unused ADE9000_ST_ERROR macro
The ADE9000_ST_ERROR macro references ADE9000_ST1_ERROR0 through ADE9000_ST1_ERROR3, but the actual defined symbols use the BIT suffix. Since this macro is currently unused in the driver, remove it entirely rather than fixing the names. It can be reintroduced in a future patch when it is actually needed. The individual error bit definitions (bits 28-31 of the STATUS1 register at 0x403) are retained as they follow the convention of defining all register fields. Reference: ADE9000 datasheet (Rev. B, Page 61), STATUS1 register (0x403), bits 28-31 define ERROR0 through ERROR3 status flags. Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions