diff options
author | Alexander Shiyan <eagle.alexander923@gmail.com> | 2025-03-07 08:38:09 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-04-27 23:59:08 +0200 |
commit | 62d48983f215bf1dd48665913318101fa3414dcf (patch) | |
tree | cba89b50c3d2195cb9f34aa3a03815373031b0c5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 51212ce95354c5b51e8c3054bf80eeeed80003b6 (diff) |
power: reset: at91-reset: Optimize at91_reset()
This patch adds a small optimization to the low-level at91_reset()
function, which includes:
- Removes the extra branch, since the following store operations
already have proper condition checks.
- Removes the definition of the clobber register r4, since it is
no longer used in the code.
Fixes: fcd0532fac2a ("power: reset: at91-reset: make at91sam9g45_restart() generic")
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20250307053809.20245-1-eagle.alexander923@gmail.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