Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpio-poweroff: Remember the old poweroff handler
Keeping a copy of the old poweroff handler allows it to be restored should this module be unloaded, but also provides a fallback if the power hasn't been removed when the timeout elapses. See: raspberrypi/rpi-eeprom#330 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
- Loading branch information