diff options
| author | Bhargav Joshi <rougueprince47@gmail.com> | 2026-02-27 04:40:55 +0530 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-02-28 12:15:19 +0000 |
| commit | e830a8894ecbacd20bc8bcff9a726682ca5ef6f9 (patch) | |
| tree | a1f190602a8fcaca54ae7782225ac7444fce6264 /include | |
| parent | aac15061093d14b216179b66adfff4af53dd19ab (diff) | |
iio: frequency: ad9523: fix implicit variable macros
The macros AD9523_CLK_DIST_DIV_PHASE_REV(x) and
AD9523_CLK_DIST_DIV_REV(x) implicitly relied on the variable named 'ret'
instead of using passed argument '(x)'. Update the macros to explicitly
use the argument '(x)' for their operations.
This also resolves the following checkpatch.pl warning: Argument '(x)'
is not used in function-like macro.
Signed-off-by: Bhargav Joshi <rougueprince47@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
