From: Josh Wu <josh.wu@atmel.com>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
<linux-media@vger.kernel.org>
Subject: Re: [PATCH 2/4] v4l: atmel-isi: Remove unused variable
Date: Thu, 6 Aug 2015 16:19:50 +0800 [thread overview]
Message-ID: <55C318A6.5090005@atmel.com> (raw)
In-Reply-To: <1438420976-7899-3-git-send-email-laurent.pinchart@ideasonboard.com>
Hi, Laurent
On 8/1/2015 5:22 PM, Laurent Pinchart wrote:
> Fix a compilation warning by removing an unused local variable in the
> probe function.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> drivers/media/platform/soc_camera/atmel-isi.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/media/platform/soc_camera/atmel-isi.c b/drivers/media/platform/soc_camera/atmel-isi.c
> index 9c900d9569e0..a2e50a734fa3 100644
> --- a/drivers/media/platform/soc_camera/atmel-isi.c
> +++ b/drivers/media/platform/soc_camera/atmel-isi.c
> @@ -920,7 +920,6 @@ static int atmel_isi_probe(struct platform_device *pdev)
> struct atmel_isi *isi;
> struct resource *regs;
> int ret, i;
> - struct device *dev = &pdev->dev;
After a further check, I find this patch should be squashed with the
[PATCH 3/4].
Since 'dev' is used by platform data in atmel_isi_probe() function by
following code:
pdata = dev->platform_data;
if ((!pdata || !pdata->data_width_flags) && !pdev->dev.of_node) {
dev_err(&pdev->dev,
"No config available for Atmel ISI\n");
return -EINVAL;
}
So if you agree with it, I will squash this patch with
[PATCH 3/4] Remove support for platform data
in my tree. Does it sound ok for you?
Best Regards,
Josh Wu
> struct soc_camera_host *soc_host;
> struct isi_platform_data *pdata;
>
next prev parent reply other threads:[~2015-08-06 8:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-01 9:22 [PATCH 0/4] atmel-isi: Remove platform data support Laurent Pinchart
2015-08-01 9:22 ` [PATCH 1/4] v4l: atmel-isi: Simplify error handling during DT parsing Laurent Pinchart
2015-08-01 9:22 ` [PATCH 2/4] v4l: atmel-isi: Remove unused variable Laurent Pinchart
2015-08-06 8:19 ` Josh Wu [this message]
2015-08-01 9:22 ` [PATCH 3/4] v4l: atmel-isi: Remove support for platform data Laurent Pinchart
2015-08-01 9:22 ` [PATCH 4/4] v4l: atmel-isi: Remove unused platform data fields Laurent Pinchart
2015-08-03 2:56 ` [PATCH 0/4] atmel-isi: Remove platform data support Josh Wu
2015-08-04 22:08 ` Laurent Pinchart
2015-08-05 3:31 ` Josh Wu
2015-09-20 15:25 ` Guennadi Liakhovetski
2015-09-21 1:33 ` Josh Wu
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=55C318A6.5090005@atmel.com \
--to=josh.wu@atmel.com \
--cc=laurent.pinchart@ideasonboard.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.