Linux Media Controller development
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [PATCH] V4L2: mt9m032: use the available subdev pointer, don't re-calculate it
Date: Wed, 18 Apr 2012 12:05:21 +0200	[thread overview]
Message-ID: <14832954.2IxnYJWIfT@avalon> (raw)
In-Reply-To: <Pine.LNX.4.64.1204181000000.30514@axis700.grange>

Hi Guennadi,

Thanks for the patch.

On Wednesday 18 April 2012 10:00:52 Guennadi Liakhovetski wrote:
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

And applied to my tree.

> ---
>  drivers/media/video/mt9m032.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/media/video/mt9m032.c b/drivers/media/video/mt9m032.c
> index 7636672..6f1ae54 100644
> --- a/drivers/media/video/mt9m032.c
> +++ b/drivers/media/video/mt9m032.c
> @@ -837,9 +837,9 @@ static int mt9m032_remove(struct i2c_client *client)
>  	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
>  	struct mt9m032 *sensor = to_mt9m032(subdev);
> 
> -	v4l2_device_unregister_subdev(&sensor->subdev);
> +	v4l2_device_unregister_subdev(subdev);
>  	v4l2_ctrl_handler_free(&sensor->ctrls);
> -	media_entity_cleanup(&sensor->subdev.entity);
> +	media_entity_cleanup(&subdev->entity);
>  	mutex_destroy(&sensor->lock);
>  	kfree(sensor);
>  	return 0;

-- 
Regards,

Laurent Pinchart


      reply	other threads:[~2012-04-18 10:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-18  8:00 [PATCH] V4L2: mt9m032: use the available subdev pointer, don't re-calculate it Guennadi Liakhovetski
2012-04-18 10:05 ` Laurent Pinchart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14832954.2IxnYJWIfT@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=g.liakhovetski@gmx.de \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox