Skip to content
Commit f430b98b authored by Phil Elwell's avatar Phil Elwell Committed by Dom Cobley
Browse files

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: https://github.com/raspberrypi/rpi-eeprom/issues/330



Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent 6d03c285
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment