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