mirror of
https://github.com/torvalds/linux.git
synced 2025-11-02 01:29:02 +02:00
When devm_add_action_or_reset() fails, it calls the passed cleanup
function. Hence the caller must not repeat that cleanup.
Replace the "goto err_regulator_free" by the actual freeing, as there
will never be a need again for a second user of this label.
Fixes:
|
||
|---|---|---|
| .. | ||
| core.c | ||
| Kconfig | ||
| Makefile | ||
| pci-pwrctrl-pwrseq.c | ||
| slot.c | ||