diff options
author | Rajeshwar R Shinde <coolrrsh@gmail.com> | 2023-08-10 16:06:00 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-08-11 17:20:02 +0300 |
commit | a0e3b8e2acd0f6e30fe68dd74116596bcf59aa63 (patch) | |
tree | 621a74bb6808627e449a69dbaf7b5254205e8949 /tools | |
parent | 0988ffa09630d4f2f66e345d1a44ffd3f1edb8e0 (diff) | |
download | linux-a0e3b8e2acd0f6e30fe68dd74116596bcf59aa63.tar.xz |
gpio: imx-scu: Use ARRAY_SIZE for array length
Use of macro ARRAY_SIZE to calculate array size minimizes
the redundant code and improves code reusability.
This fixes warnings reported by Coccinelle:
drivers/gpio/gpio-imx-scu.c:106:32-33: WARNING: Use ARRAY_SIZE
Signed-off-by: Rajeshwar R Shinde <coolrrsh@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions