mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
68c03a666c
commit
4334fd18e2
|
@ -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 @@ static int iss_probe(struct platform_device *pdev)
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue