diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-11-03 20:28:24 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-12-03 17:51:33 -0200 |
commit | 4334fd18e2bcf9c6aa7c535c25b05b462aab05b3 (patch) | |
tree | c00081d8af9ccf3b0064b064be3eda6cf938784d /drivers | |
parent | 68c03a666c36068428fed43010bde521d4341079 (diff) | |
download | linux-4334fd18e2bcf9c6aa7c535c25b05b462aab05b3.tar.bz2 |
[media] v4l: omap4iss: Make loop counters unsigned where appropriate
Loop counters that can only take positive values should be unsigned.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/media/omap4iss/iss.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/media/omap4iss/iss.c b/drivers/staging/media/omap4iss/iss.c index 043a3f3b2426..c7dffa656564 100644 --- a/drivers/staging/media/omap4iss/iss.c +++ b/drivers/staging/media/omap4iss/iss.c @@ -1290,7 +1290,8 @@ static int iss_probe(struct platform_device *pdev) { struct iss_platform_data *pdata = pdev->dev.platform_data; struct iss_device *iss; - int i, ret; + unsigned int i; + int ret; if (pdata == NULL) return -EINVAL; @@ -1414,7 +1415,7 @@ error: static int iss_remove(struct platform_device *pdev) { struct iss_device *iss = platform_get_drvdata(pdev); - int i; + unsigned int i; iss_unregister_entities(iss); iss_cleanup_modules(iss); |