[PATCH 0/2] Use gpio_is_valid()

From: Arvind Yadav
Date: Fri Apr 27 2018 - 07:44:23 EST


Replace the manual validity checks for the GPIO with the
gpio_is_valid().

Arvind Yadav (2):
[PATCH 1/2] [media] platform: Use gpio_is_valid()
[PATCH 2/2] [media] sta2x11: Use gpio_is_valid() and remove unnecessary check

drivers/media/pci/sta2x11/sta2x11_vip.c | 31 +++++++++++++++----------------
drivers/media/platform/via-camera.c | 2 +-
2 files changed, 16 insertions(+), 17 deletions(-)

--
1.9.1