gpio-button-hotplug: unify polled and interrupt code