[media] ivtv: use for_each_sg
authorGeliang Tang <geliangtang@gmail.com>
Fri, 24 Mar 2017 14:12:24 +0000 (11:12 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 5 Apr 2017 18:17:15 +0000 (15:17 -0300)
commitacf0e531a48bdf805fec024dcc2735a61933a213
tree0b56eac932a364e1a43744cf8d41c4bd9e5db43a
parente5c27ef390a5195d54ed8135148253ec990ad29a
[media] ivtv: use for_each_sg

Use for_each_sg() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/ivtv/ivtv-udma.c