]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (6316): Change list_for_each+list_entry to list_for_each_entry
authorTrent Piepho <xyzzy@speakeasy.org>
Wed, 10 Oct 2007 08:37:43 +0000 (05:37 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 16:35:29 +0000 (13:35 -0300)
commita991f44b79fa49b281eb078eed4a76a42101012a
tree5a6b7a4ce700ef8bcdf59f816c0c04b5e64d215b
parente77e2c2f2989eefff7e1c0fff9cb72afaedf6796
V4L/DVB (6316): Change list_for_each+list_entry to list_for_each_entry

The rest of V4L files.

There is one list_for_each+list_entry in cpia_pp.c that
wasn't changed because it expects the loop iterator to remain NULL if
the list is empty.

A bug in vivi is fixed; the 'safe' version needs to be used because the loop
deletes the list entries.

Simplify a second loop in vivi and get rid if an un-used variable in that loop.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/bt8xx/bttv-gpio.c
drivers/media/video/cx23885/cx23885-core.c
drivers/media/video/dpc7146.c
drivers/media/video/em28xx/em28xx-video.c
drivers/media/video/mxb.c
drivers/media/video/tvmixer.c
drivers/media/video/v4l2-int-device.c
drivers/media/video/videobuf-core.c
drivers/media/video/vivi.c