diff options
Diffstat (limited to 'drivers/media/video/tvmixer.c')
-rw-r--r-- | drivers/media/video/tvmixer.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/video/tvmixer.c b/drivers/media/video/tvmixer.c index 544a4ae7d2ed..9fa5b702e073 100644 --- a/drivers/media/video/tvmixer.c +++ b/drivers/media/video/tvmixer.c | |||
@@ -237,13 +237,10 @@ static const struct file_operations tvmixer_fops = { | |||
237 | 237 | ||
238 | static int tvmixer_adapters(struct i2c_adapter *adap) | 238 | static int tvmixer_adapters(struct i2c_adapter *adap) |
239 | { | 239 | { |
240 | struct list_head *item; | ||
241 | struct i2c_client *client; | 240 | struct i2c_client *client; |
242 | 241 | ||
243 | list_for_each(item,&adap->clients) { | 242 | list_for_each_entry(client, &adap->clients, list) |
244 | client = list_entry(item, struct i2c_client, list); | ||
245 | tvmixer_clients(client); | 243 | tvmixer_clients(client); |
246 | } | ||
247 | return 0; | 244 | return 0; |
248 | } | 245 | } |
249 | 246 | ||