gpio-button-hotplug: add inline function gpio_button_get_value().