diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-12-17 19:05:03 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2013-12-17 19:05:03 +0000 |
commit | 000da8290388199f50090bba61ca83910f1f1f3b (patch) | |
tree | d2244f15334cdf8a4e3f8c4432f7e8ac5fa76eba /target/linux/ep93xx | |
parent | 58a22446f4fe72dcddc739572e0d4b6670262be3 (diff) | |
download | master-187ad058-000da8290388199f50090bba61ca83910f1f1f3b.tar.gz master-187ad058-000da8290388199f50090bba61ca83910f1f1f3b.tar.bz2 master-187ad058-000da8290388199f50090bba61ca83910f1f1f3b.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39124 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ep93xx')
0 files changed, 0 insertions, 0 deletions