diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2015-07-26 15:52:17 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2015-07-26 15:52:17 +0000 |
commit | 4604d0a22c160241211643d691df91f4a1913267 (patch) | |
tree | 4de5917084a433dd644966acee9288430351ca33 /target/linux/generic | |
parent | 0d08877a5d6a60fca48db8e2e4bdc26ed21da676 (diff) | |
download | master-187ad058-4604d0a22c160241211643d691df91f4a1913267.tar.gz master-187ad058-4604d0a22c160241211643d691df91f4a1913267.tar.bz2 master-187ad058-4604d0a22c160241211643d691df91f4a1913267.zip |
gpio-button-hotplug: handle EPROBE_DEFER and other errors
of_get_gpio_flags() could return an error like EPROBE_DEFER which was
not handled before. This patch takes the code from gpio_keys_polled.c
for error handling and also improves some other unrelated small parts.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46502 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic')
0 files changed, 0 insertions, 0 deletions