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>
{
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;
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);