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: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39124v19.07.3_mercusys_ac12_duma
parent
7a24db90aa
commit
5c2aee90ac
Loading…
Reference in New Issue