linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Use gpio_is_valid()
@ 2018-04-27 11:43 Arvind Yadav
  2018-04-27 11:44 ` [PATCH 1/2] [media] platform: " Arvind Yadav
  2018-04-27 11:44 ` [PATCH 2/2] [media] sta2x11: Use gpio_is_valid() and remove unnecessary check Arvind Yadav
  0 siblings, 2 replies; 3+ messages in thread
From: Arvind Yadav @ 2018-04-27 11:43 UTC (permalink / raw)
  To: mchehab, hans.verkuil, viro; +Cc: linux-kernel, linux-media

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-27 11:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-27 11:43 [PATCH 0/2] Use gpio_is_valid() Arvind Yadav
2018-04-27 11:44 ` [PATCH 1/2] [media] platform: " Arvind Yadav
2018-04-27 11:44 ` [PATCH 2/2] [media] sta2x11: Use gpio_is_valid() and remove unnecessary check Arvind Yadav

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).