commit | a2e63709b53312002009c564460af34520c62f98 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Sat Apr 28 10:05:39 2018 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Apr 29 15:25:52 2018 +0200 |
tree | e5b27e47715c264431bb0db71c92fd57a97cd4d1 | |
parent | 3ea74d38a86ae6217d8fcfc5e96607e09435b8e8 [diff] |
staging: greybus: Use gpio_is_valid() Replace the manual validity checks for the GPIO with the gpio_is_valid(). Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>