* Re: [PATCH 1/2] don't add i2c_imx_driver's probe function to the driver struct
[not found] ` <1247428431-27315-1-git-send-email-u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2009-07-12 20:40 ` Wolfram Sang
[not found] ` <20090712204010.GA342-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Wolfram Sang @ 2009-07-12 20:40 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW, Sascha Hauer,
Guennadi Liakhovetski, Darius Augulis, Ben Dooks,
linux-i2c-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 1529 bytes --]
On Sun, Jul 12, 2009 at 09:53:50PM +0200, Uwe Kleine-König wrote:
> i2c_imx_driver is registered using platform_driver_probe which takes
> care for the probe function itself. So don't pass it in the driver
> struct, too.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> Cc: Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> Cc: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> Cc: Guennadi Liakhovetski <g.liakhovetski-Mmb7MZpHnFY@public.gmane.org>
> Cc: Darius Augulis <augulis.darius-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Cc: Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
Acked-by: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Adding linux-i2c to CC...
> ---
> drivers/i2c/busses/i2c-imx.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
> index 0b486a6..b7a0ac7 100644
> --- a/drivers/i2c/busses/i2c-imx.c
> +++ b/drivers/i2c/busses/i2c-imx.c
> @@ -597,7 +597,6 @@ static int __exit i2c_imx_remove(struct platform_device *pdev)
> }
>
> static struct platform_driver i2c_imx_driver = {
> - .probe = i2c_imx_probe,
> .remove = __exit_p(i2c_imx_remove),
> .driver = {
> .name = DRIVER_NAME,
> --
> 1.6.3.1
>
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] don't add i2c_imx_driver's probe function to the driver struct
[not found] ` <20090712204010.GA342-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2009-07-14 22:55 ` Ben Dooks
[not found] ` <20090714225537.GB10277-elnMNo+KYs3pIgCt6eIbzw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Ben Dooks @ 2009-07-14 22:55 UTC (permalink / raw)
To: Wolfram Sang
Cc: Uwe Kleine-K?nig,
linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW, Sascha Hauer,
Guennadi Liakhovetski, Darius Augulis, Ben Dooks,
linux-i2c-u79uwXL29TY76Z2rM5mHXA
On Sun, Jul 12, 2009 at 10:40:10PM +0200, Wolfram Sang wrote:
> On Sun, Jul 12, 2009 at 09:53:50PM +0200, Uwe Kleine-K?nig wrote:
> > i2c_imx_driver is registered using platform_driver_probe which takes
> > care for the probe function itself. So don't pass it in the driver
> > struct, too.
> > Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> > Cc: Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> > Cc: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> > Cc: Guennadi Liakhovetski <g.liakhovetski-Mmb7MZpHnFY@public.gmane.org>
> > Cc: Darius Augulis <augulis.darius-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > Cc: Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
>
> Acked-by: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
>
> Adding linux-i2c to CC...
Can I have the original to apply please?
--
Ben (ben-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org, http://www.fluff.org/)
'a smiley only costs 4 bytes'
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] don't add i2c_imx_driver's probe function to the driver struct
[not found] ` <20090714225537.GB10277-elnMNo+KYs3pIgCt6eIbzw@public.gmane.org>
@ 2009-07-15 7:38 ` Uwe Kleine-König
0 siblings, 0 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2009-07-15 7:38 UTC (permalink / raw)
To: Ben Dooks
Cc: Wolfram Sang, linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW,
Sascha Hauer, Guennadi Liakhovetski, Darius Augulis,
linux-i2c-u79uwXL29TY76Z2rM5mHXA
i2c_imx_driver is registered using platform_driver_probe which takes
care for the probe function itself. So don't pass it in the driver
struct, too.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Cc: Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Acked-by: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Cc: Guennadi Liakhovetski <g.liakhovetski-Mmb7MZpHnFY@public.gmane.org>
Cc: Darius Augulis <augulis.darius-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
---
Hi Ben,
On Tue, Jul 14, 2009 at 11:55:37PM +0100, Ben Dooks wrote:
> On Sun, Jul 12, 2009 at 10:40:10PM +0200, Wolfram Sang wrote:
> > On Sun, Jul 12, 2009 at 09:53:50PM +0200, Uwe Kleine-K?nig wrote:
> > > i2c_imx_driver is registered using platform_driver_probe which takes
> > > care for the probe function itself. So don't pass it in the driver
> > > struct, too.
> > > Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> > > Cc: Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> > > Cc: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> > > Cc: Guennadi Liakhovetski <g.liakhovetski-Mmb7MZpHnFY@public.gmane.org>
> > > Cc: Darius Augulis <augulis.darius-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > > Cc: Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
> >
> > Acked-by: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> >
> > Adding linux-i2c to CC...
>
> Can I have the original to apply please?
hhhhmm? According to my sent mail folder you got a Cc of the original
mail. Anyhow, here it comes again. The only difference to the first
post is that Wolfram's Cc: became an Acked-by:
Best regards
Uwe
drivers/i2c/busses/i2c-imx.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index 0b486a6..b7a0ac7 100644
--- a/drivers/i2c/busses/i2c-imx.c
+++ b/drivers/i2c/busses/i2c-imx.c
@@ -597,7 +597,6 @@ static int __exit i2c_imx_remove(struct platform_device *pdev)
}
static struct platform_driver i2c_imx_driver = {
- .probe = i2c_imx_probe,
.remove = __exit_p(i2c_imx_remove),
.driver = {
.name = DRIVER_NAME,
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-15 7:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1247428431-27315-1-git-send-email-u.kleine-koenig@pengutronix.de>
[not found] ` <1247428431-27315-1-git-send-email-u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-07-12 20:40 ` [PATCH 1/2] don't add i2c_imx_driver's probe function to the driver struct Wolfram Sang
[not found] ` <20090712204010.GA342-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-07-14 22:55 ` Ben Dooks
[not found] ` <20090714225537.GB10277-elnMNo+KYs3pIgCt6eIbzw@public.gmane.org>
2009-07-15 7:38 ` [PATCH] " Uwe Kleine-König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).