commit | bf0102a0fdd9fa2b41c2646c4f96e91b678de89e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Apr 15 11:14:42 2019 +0200 |
committer | Palmer Dabbelt <palmer@sifive.com> | Thu Apr 25 14:51:12 2019 -0700 |
tree | ac4e34e4857396f804d7b9cca14ca8ce206e05d0 | |
parent | bed1378706637c0dd09c055480767dfcf6abe7db [diff] |
riscv: call pm_power_off from machine_halt / machine_power_off This way any override of pm_power_off also affects the halt path and we don't need additional infrastructure for it. Also remove the pm_power_off export - at least for now we don't have any modular drivers overriding it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>