diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-11-18 12:28:02 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-11-21 11:07:42 +0300 |
commit | c7899503ad9c06a0c6ee2796301139731cf1f5ab (patch) | |
tree | 636b118d77129180383ffc77a347857a2294efb7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5bbed54ba66925ebca19092d0750630f943d7bf2 (diff) | |
download | linux-c7899503ad9c06a0c6ee2796301139731cf1f5ab.tar.xz |
gpio: altera: Add missed base and label initialisations
During conversion driver to modern APIs the base field initial value
of the GPIO chip was moved from -1 to 0, which triggers a warning.
Add missed base initialisation as it was in the original code.
Initialise the GPIO chip label correctly as it was done by
of_mm_gpiochip_add_data() before the below mentioned change.
Fixes: 50dded8d9d62 ("gpio: altera: Drop legacy-of-mm-gpiochip.h header")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241118095402.516989-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions