diff options
author | 2023-08-10 18:36:00 +0530 | |
---|---|---|
committer | 2023-08-11 16:20:02 +0200 | |
commit | a0e3b8e2acd0f6e30fe68dd74116596bcf59aa63 (patch) | |
tree | 621a74bb6808627e449a69dbaf7b5254205e8949 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | gpio: ws16c48: Migrate to the regmap API (diff) | |
download | wireguard-linux-a0e3b8e2acd0f6e30fe68dd74116596bcf59aa63.tar.xz wireguard-linux-a0e3b8e2acd0f6e30fe68dd74116596bcf59aa63.zip |
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/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions