]> git.baikalelectronics.ru Git - kernel.git/commit
staging: greybus: Use gpio_is_valid()
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 28 Apr 2018 04:35:39 +0000 (10:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Apr 2018 13:25:52 +0000 (15:25 +0200)
commitc1781a3f866c26915824f65d68e9a7cfde4fc0be
treee5b27e47715c264431bb0db71c92fd57a97cd4d1
parentcb86b3452f38a7b6664b1f8234eac322f0e6db0d
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>
drivers/staging/greybus/arche-platform.c