Commit 4334fd18 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab

[media] v4l: omap4iss: Make loop counters unsigned where appropriate

Loop counters that can only take positive values should be unsigned.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 68c03a66
...@@ -1290,7 +1290,8 @@ static int iss_probe(struct platform_device *pdev) ...@@ -1290,7 +1290,8 @@ static int iss_probe(struct platform_device *pdev)
{ {
struct iss_platform_data *pdata = pdev->dev.platform_data; struct iss_platform_data *pdata = pdev->dev.platform_data;
struct iss_device *iss; struct iss_device *iss;
int i, ret; unsigned int i;
int ret;
if (pdata == NULL) if (pdata == NULL)
return -EINVAL; return -EINVAL;
...@@ -1414,7 +1415,7 @@ static int iss_probe(struct platform_device *pdev) ...@@ -1414,7 +1415,7 @@ static int iss_probe(struct platform_device *pdev)
static int iss_remove(struct platform_device *pdev) static int iss_remove(struct platform_device *pdev)
{ {
struct iss_device *iss = platform_get_drvdata(pdev); struct iss_device *iss = platform_get_drvdata(pdev);
int i; unsigned int i;
iss_unregister_entities(iss); iss_unregister_entities(iss);
iss_cleanup_modules(iss); iss_cleanup_modules(iss);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment