linux/drivers/power
Alexander Shiyan d05c33c14f power: reset: at91-reset: Optimize at91_reset()
[ Upstream commit 62d48983f2 ]

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: fcd0532fac ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-06-19 15:31:31 +02:00
..
reset power: reset: at91-reset: Optimize at91_reset() 2025-06-19 15:31:31 +02:00
sequencing power: sequencing: make the QCom PMU pwrseq driver depend on CONFIG_OF 2024-12-05 14:01:29 +01:00
supply power: supply: axp20x_battery: Update temp sensor for AXP717 from device tree 2025-05-29 11:02:43 +02:00
Kconfig power: sequencing: implement the pwrseq core 2024-06-12 09:20:13 +02:00
Makefile power: sequencing: implement the pwrseq core 2024-06-12 09:20:13 +02:00