Re: [PATCH] i2c: convert drivers/i2c/* to use module_platform_driver()

2011-11-27 Thread Peter Korsgaard
> "Axel" == Axel Lin writes: Axel> This patch converts the drivers in drivers/i2c/* to use the Axel> module_platform_driver() macro which makes the code smaller and a bit Axel> simpler. Axel> Cc: Jean Delvare Axel> Cc: Ben Dooks Axel> Cc: Jochen Friedrich Axel> Cc: Peter Korsgaard

Re: [PATCH] i2c: convert drivers/i2c/* to use module_platform_driver()

2011-11-27 Thread Wolfram Sang
On Sun, Nov 27, 2011 at 02:12:12PM +0800, Axel Lin wrote: > This patch converts the drivers in drivers/i2c/* to use the > module_platform_driver() macro which makes the code smaller and a bit > simpler. Acked-by: Wolfram Sang -- Pengutronix e.K. | Wolfram Sang

Re: [PATCH] i2c: convert drivers/i2c/* to use module_platform_driver()

2011-11-27 Thread Jochen Friedrich
Am 27.11.2011 07:12, schrieb Axel Lin: This patch converts the drivers in drivers/i2c/* to use the module_platform_driver() macro which makes the code smaller and a bit simpler. Acked-by: Jochen Friedrich -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a

Re: [PATCH] i2c: convert drivers/i2c/* to use module_platform_driver()

2011-11-27 Thread Jean Delvare
Hi Axel, On Sun, 27 Nov 2011 14:12:12 +0800, Axel Lin wrote: > This patch converts the drivers in drivers/i2c/* to use the > module_platform_driver() macro which makes the code smaller and a bit > simpler. > > Cc: Jean Delvare > Cc: Ben Dooks > Cc: Jochen Friedrich > Cc: Peter Korsgaard > Cc:

Re: [PATCH] i2c: convert drivers/i2c/* to use module_platform_driver()

2011-11-27 Thread Wolfram Sang
> > -module_init(gpiomux_init); > > -module_exit(gpiomux_exit); > > +module_platform_driver(gpiomux_driver); > > This one would be better as a separate patch, as it touches a different > subdirectory, which I am responsible for. ... which has a patch pending[1], hint ;) [1] http://comments.gman

Re: [PATCH] i2c: convert drivers/i2c/* to use module_platform_driver()

2011-11-27 Thread Jean Delvare
On Sun, 27 Nov 2011 20:46:48 +0100, Wolfram Sang wrote: > > > > -module_init(gpiomux_init); > > > -module_exit(gpiomux_exit); > > > +module_platform_driver(gpiomux_driver); > > > > This one would be better as a separate patch, as it touches a different > > subdirectory, which I am responsible for

Re: [PATCH] i2c: reorganize muxes to a standard pattern

2011-11-27 Thread Jean Delvare
Hi Wolfram, Sorry for the late reply. On Sun, 13 Nov 2011 22:41:14 +0100, Wolfram Sang wrote: > Analog to ca632f5 (spi: reorganize drivers), introduce a standard pattern > for naming the muxes. This is done for the rest of the I2C subsystem already, > so > we stay in sync with that. > > Signed-

Re: [PATCH] i2c: reorganize muxes to a standard pattern

2011-11-27 Thread Peter Korsgaard
> "Jean" == Jean Delvare writes: Hi, >> rename drivers/i2c/muxes/{gpio-i2cmux.c => i2c-mux-gpio.c} (100%) >> rename drivers/i2c/muxes/{pca9541.c => i2c-mux-pca9541.c} (100%) >> rename drivers/i2c/muxes/{pca954x.c => i2c-mux-pca954x.c} (100%) Jean> You forgot to rename Documentation/i2c/

Re: [PATCH] i2c: reorganize muxes to a standard pattern

2011-11-27 Thread Guenter Roeck
On Sun, Nov 27, 2011 at 03:48:47PM -0500, Jean Delvare wrote: > Hi Wolfram, > > Sorry for the late reply. > > On Sun, 13 Nov 2011 22:41:14 +0100, Wolfram Sang wrote: > > Analog to ca632f5 (spi: reorganize drivers), introduce a standard pattern > > for naming the muxes. This is done for the rest o

Re: [PATCH] i2c multiplexer driver for Proliant microserver N36L

2011-11-27 Thread Ben Dooks
On Fri, Nov 25, 2011 at 11:07:21PM +0100, Eddi De Pieri wrote: > This patch add support to multiplexed smbus for proliant microserver > N36L and may be applicable to other configuration based on sb8xx > southbus. > > root@proliant:/usr/src/lm-sensors/eddi# i2cdetect -l > i2c-0   smbus   S

[PATCH v2] i2c: convert drivers/i2c/* to use module_platform_driver()

2011-11-27 Thread Axel Lin
This patch converts the drivers in drivers/i2c/* to use the module_platform_driver() macro which makes the code smaller and a bit simpler. Cc: Jean Delvare Cc: Ben Dooks Cc: Jochen Friedrich Cc: Peter Korsgaard Cc: Wolfram Sang Cc: Guan Xuetao Cc: Manuel Lauss Cc: Barry Song <21cn...@gmail.

Re: [PATCH] i2c: convert drivers/i2c/* to use module_platform_driver()

2011-11-27 Thread Guan Xuetao
On Sun, 2011-11-27 at 14:12 +0800, Axel Lin wrote: > This patch converts the drivers in drivers/i2c/* to use the > module_platform_driver() macro which makes the code smaller and a bit > simpler. > > Cc: Jean Delvare > Cc: Ben Dooks > Cc: Jochen Friedrich > Cc: Peter Korsgaard > Cc: Wolfram Sa

Re: [PATCH v2] i2c: convert drivers/i2c/* to use module_platform_driver()

2011-11-27 Thread Guan Xuetao
On Mon, 2011-11-28 at 08:13 +0800, Axel Lin wrote: > This patch converts the drivers in drivers/i2c/* to use the > module_platform_driver() macro which makes the code smaller and a bit > simpler. > > Cc: Jean Delvare > Cc: Ben Dooks > Cc: Jochen Friedrich > Cc: Peter Korsgaard > Cc: Wolfram Sa

Re: RFC: I2C bus fault recovery and I2C reset

2011-11-27 Thread David Jander
Hi Micheal, On Fri, 25 Nov 2011 11:27:44 +0100 Michael Lawnick wrote: > Am 24.11.2011 12:02, schrieb David Jander: > > I was debugging an I2C bus connected to a i2c-imx peripheral as master, > > with several slaves connected to it, when I realized that this driver (and > > many (all?) others) ca