MIPS: ath79: drop _machine_restart again
authorLech Perczak <lech.perczak@gmail.com>
Mon, 10 Jan 2022 22:48:44 +0000 (23:48 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 11 Jan 2022 15:16:52 +0000 (16:16 +0100)
commitd3115128bdafb62628ab41861a4f06f6d02ac320
treef33eee14427008782a010e480c1674715d5ea404
parentaa8589aac8e335e5e2e9a9de72a53913892e92f9
MIPS: ath79: drop _machine_restart again

Commit 81424d0ad0d4 ("MIPS: ath79: Use the reset controller to restart
OF machines") removed setup of _machine_restart on OF machines to use
reset handler in reset controller driver.
While removing remnants of non-OF machines in commit 3a77e0d75eed
("MIPS: ath79: drop machfiles"), this was introduced again, making it
impossible to use additional restart handlers registered through device
tree. Drop setting _machine_restart altogether, and ath79_restart
function, which is no longer used after this.

Fixes: 3a77e0d75eed ("MIPS: ath79: drop machfiles")
Cc: John Crispin <john@phrozen.org>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/ath79/setup.c