Skip to content
Snippets Groups Projects
Commit 5c2aee90 authored by Jonas Gorski's avatar Jonas Gorski
Browse files

gpio-button-hotplug: fix crash on remove


Don't call gpio_keys_remove recursively. Setting the platform
data to NULL triggered an oops on the second iteration, so there was
no infinate loop.

Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>

SVN-Revision: 39124
parent 7a24db90
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment