Re: [PATCH] iio: adc: ade9000: fix wrong macro names in ADE9000_ST_ERROR
From: Andy Shevchenko
Date: Fri Feb 27 2026 - 05:33:22 EST
On Fri, Feb 27, 2026 at 02:09:01PM +0400, Giorgi Tchankvetadze wrote:
> The ADE9000_ST_ERROR macro references ADE9000_ST1_ERROR0 through
> ADE9000_ST1_ERROR3, but the actual defined symbols use the _BIT
BIT
(It's okay to drop "_" as "suffix" implies the position of the "BIT".)
> suffix. Fix the references to use the correct macro names.
What about the current code that uses it? Is it even in use currently?
Please, elaborate more in the commit message that we clearly understand
that you spent time and investigated code and/or datasheet before crafting
this change.
--
With Best Regards,
Andy Shevchenko