diff options
author | jogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-12-17 19:05:03 +0000 |
---|---|---|
committer | jogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-12-17 19:05:03 +0000 |
commit | 2d34d0a9972f2fce8b2b5953f9a7a3915dab5767 (patch) | |
tree | d2244f15334cdf8a4e3f8c4432f7e8ac5fa76eba /target/linux | |
parent | fd4a1c87245879c999c08039a009fbaa80c35bdc (diff) |
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')
0 files changed, 0 insertions, 0 deletions