login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
10
Re: [PATCH] media: video: do not clear 'driver' from an i2c_client
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Guennadi Liakhovetski
Subject:
Re: [PATCH] media: video: do not clear 'driver' from an i2c_client
Date: Wednesday, November 10, 2010 - 7:24 am
On Wed, 10 Nov 2010, Wolfram Sang wrote:
quoted text
> The i2c-core does this already. > > Reported-by: Jean Delvare <khali@linux-fr.org> > Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
quoted text
> --- > > Not sure if this should go via i2c or media? > > drivers/media/video/imx074.c | 1 - > drivers/media/video/mt9m001.c | 1 - > drivers/media/video/mt9m111.c | 1 - > drivers/media/video/mt9t031.c | 1 - > drivers/media/video/mt9v022.c | 1 - > drivers/media/video/rj54n1cb0c.c | 1 - > 6 files changed, 0 insertions(+), 6 deletions(-) > > diff --git a/drivers/media/video/imx074.c b/drivers/media/video/imx074.c > index 27b5dfd..1a11691 100644 > --- a/drivers/media/video/imx074.c > +++ b/drivers/media/video/imx074.c > @@ -467,7 +467,6 @@ static int imx074_remove(struct i2c_client *client) > icd->ops = NULL; > if (icl->free_bus) > icl->free_bus(icl); > - client->driver = NULL; > kfree(priv); > > return 0; > diff --git a/drivers/media/video/mt9m001.c b/drivers/media/video/mt9m001.c > index fcb4cd9..f7fc88d 100644 > --- a/drivers/media/video/mt9m001.c > +++ b/drivers/media/video/mt9m001.c > @@ -798,7 +798,6 @@ static int mt9m001_remove(struct i2c_client *client) > > icd->ops = NULL; > mt9m001_video_remove(icd); > - client->driver = NULL; > kfree(mt9m001); > > return 0; > diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c > index 525a16e..53fa2a7 100644 > --- a/drivers/media/video/mt9m111.c > +++ b/drivers/media/video/mt9m111.c > @@ -1092,7 +1092,6 @@ static int mt9m111_remove(struct i2c_client *client) > struct soc_camera_device *icd = client->dev.platform_data; > > icd->ops = NULL; > - client->driver = NULL; > kfree(mt9m111); > > return 0; > diff --git a/drivers/media/video/mt9t031.c b/drivers/media/video/mt9t031.c > index 9bd44a8..7ce279c 100644 > --- a/drivers/media/video/mt9t031.c > +++ b/drivers/media/video/mt9t031.c > @@ -896,7 +896,6 @@ static int mt9t031_remove(struct i2c_client *client) > > if (icd) > icd->ops = NULL; > - client->driver = NULL; > kfree(mt9t031); > > return 0; > diff --git a/drivers/media/video/mt9v022.c b/drivers/media/video/mt9v022.c > index b96171c..6a784c8 100644 > --- a/drivers/media/video/mt9v022.c > +++ b/drivers/media/video/mt9v022.c > @@ -930,7 +930,6 @@ static int mt9v022_remove(struct i2c_client *client) > > icd->ops = NULL; > mt9v022_video_remove(icd); > - client->driver = NULL; > kfree(mt9v022); > > return 0; > diff --git a/drivers/media/video/rj54n1cb0c.c b/drivers/media/video/rj54n1cb0c.c > index d2fa2d4..57e11b6 100644 > --- a/drivers/media/video/rj54n1cb0c.c > +++ b/drivers/media/video/rj54n1cb0c.c > @@ -1460,7 +1460,6 @@ static int rj54n1_remove(struct i2c_client *client) > icd->ops = NULL; > if (icl->free_bus) > icl->free_bus(icl); > - client->driver = NULL; > kfree(rj54n1); > > return 0; > -- > 1.7.2.3 > >
--- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer
http://www.open-technology.de/
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] media: video: do not clear 'driver' from an i2c_client
, Wolfram Sang
, (Wed Nov 10, 7:14 am)
Re: [PATCH] media: video: do not clear 'driver' from an i2 ...
, Guennadi Liakhovetski
, (Wed Nov 10, 7:24 am)
Re: [PATCH] media: video: do not clear 'driver' from an i2 ...
, Wolfram Sang
, (Mon Nov 15, 3:28 pm)
Re: [PATCH] media: video: do not clear 'driver' from an i2 ...
, Jean Delvare
, (Tue Nov 16, 3:34 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v2 11/11] sched: update tg->shares after cpu.shares write
Ingo Molnar
Re: [RFC] Cpu-hotplug: Using the Process Freezer (try2)
Jeffrey V. Merkey
Re: Versioning file system
Eric W. Biederman
Re: init's children list is long and slows reaping children.
Ingo Molnar
Re: ext3 IO latency measurements (was: Linux 2.6.29)
git
:
Junio C Hamano
Re: [PATCH 2/3] git-add--interactive: remove hunk coalescing
Matthieu Moy
Re: Bugs in Gitosis
Daniel Barkalow
Re: About git and the use of SHA-1
Shawn O. Pearce
Re: Bugs in Gitosis
David Lang
Re: mingw, windows, crlf/lf, and git
linux-netdev
:
David Miller
Re: [2.6.30-rc3] powerpc: compilation error of mace module
David Miller
Re: [PATCH] ipv6: fix display of local and remote sit endpoints
Timo Teräs
ip xfrm policy semantics
Eric Dumazet
Re: [PATCH] net: implement emergency route cache rebulds when gc_elasticity is exc...
Gerrit Renker
v3 [Re-Send] [PATCH 0/5] dccp: Feature negotiation, Part I - Underlying data struc...
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB: tm6000: add special usb request to quit i2c tuner transfer
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
mtd: nand: davinci: fix to use mask_ale from pdata
Linux Kernel Mailing List
powerpc: gamecube/wii: usbgecko bootwrapper console support
Linux Kernel Mailing List
of/flattree: merge early_init_dt_scan_memory() common code
openbsd-misc
:
frantisek holop
Re: mount ffs as msdos, system hangs
Ted Bullock
Re: Proliant DL380 G3 cannot get on network
Eric Furman
Re: Defending OpenBSD Performance
Damien Miller
Re: Patching a SSH 'Weakness'
Craig Skinner
Re: SMTP flood + spamdb
Colocation donated by:
Syndicate