diff options
author | Tom Rix <trix@redhat.com> | 2022-06-29 22:20:45 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2022-06-29 22:41:59 +0300 |
commit | a578cc3af5cea5c7a912d2cfb8601875eb8ce451 (patch) | |
tree | 25c4695eac9b478def5ff363cb717d931f2dff08 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a5a3d94fc4edecb894bc79810aea511ff9261c09 (diff) | |
download | linux-a578cc3af5cea5c7a912d2cfb8601875eb8ce451.tar.xz |
power: reset: pwr-mlxbf: change rst_pwr_hid and low_pwr_hid from global to local variables
sparse reports
drivers/power/reset/pwr-mlxbf.c:19:12: warning: symbol 'rst_pwr_hid' was not declared. Should it be static?
drivers/power/reset/pwr-mlxbf.c:20:12: warning: symbol 'low_pwr_hid' was not declared. Should it be static?
Both rst_pwr_hid and low_pwr_hid are only used in a single function
so they should be local variables.
Fixes: a4c0094fcf76 ("power: reset: pwr-mlxbf: add BlueField SoC power control driver")
Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Asmaa Mnebhi <asmaa@nvidia.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions