diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-07-26 15:52:17 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-07-26 15:52:17 +0000 |
commit | 886764657ad978194931e0bbc425d66f83f577da (patch) | |
tree | 48eef55838844899ffa5ec5ad74b14e7ccff9442 /target/linux/generic/config-4.1 | |
parent | ab63719eb296569407c7f5d48207a55893261b9a (diff) | |
download | mtk-20170518-886764657ad978194931e0bbc425d66f83f577da.zip mtk-20170518-886764657ad978194931e0bbc425d66f83f577da.tar.gz mtk-20170518-886764657ad978194931e0bbc425d66f83f577da.tar.bz2 |
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>
SVN-Revision: 46502
Diffstat (limited to 'target/linux/generic/config-4.1')
0 files changed, 0 insertions, 0 deletions