Dernière année pour effacer vos impôts

2011-11-16 Thread Impôts 2012 par affilibaz
ReflexePatrimoine - Dernieres opportunites [IMG] developpez votre patrimoine en devenant proprietaire grace a vos impots - decouvrez en exclusivite nos programmes Paris IDF, Grand Nord, PACA, Rhone Alpes, Midi Pyrennees Obtenez une etude personnalisee - Financement

[PATCH 1/5] drivercore: Generalize module_platform_driver

2011-11-16 Thread Lars-Peter Clausen
This patch generalizes the module_platform_driver macro and introduces a new module_driver macro. The module_driver macro takes a driver name, a register and a unregister function for this driver type. Using these it construct the module init and exit sections which register and unregister the

[PATCH 2/5] I2C: Add helper macro for i2c_driver boilerplate

2011-11-16 Thread Lars-Peter Clausen
This patch introduces the module_i2c_driver macro which is a convenience macro for I2C driver modules similar to module_platform_driver. It is intended to be used by drivers which init/exit section does nothing but register/unregister the I2C driver. By using this macro it is possible to eliminate

[PATCH 3/5] SPI: Add helper macro for spi_driver boilerplate

2011-11-16 Thread Lars-Peter Clausen
This patch introduces the module_spi_driver macro which is a convenience macro for SPI driver modules similar to module_platform_driver. It is intended to be used by drivers which init/exit section does nothing but register/unregister the SPI driver. By using this macro it is possible to eliminate

[PATCH 0/5] Generalize module_platform_driver

2011-11-16 Thread Lars-Peter Clausen
Grant Likely recently introduced the module_platform_driver macro which can be used to eliminate a few lines on boilerplate code in platform driver modules. The same approach can be used to do the same for other bus type drivers. The first patch of this series generalizes the

[PATCH 4/5] staging:iio: Use module_i2c_driver to register I2C drivers

2011-11-16 Thread Lars-Peter Clausen
Use the newly introduced module_i2c_driver macro for registering I2C drivers. This allows us to remove a few lines of boilerplate code. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- drivers/staging/iio/adc/ad7291.c| 14 +-

[PATCH 5/5] staging:iio: Use module_spi_driver to register SPI driver

2011-11-16 Thread Lars-Peter Clausen
Use the newly introduced module_spi_driver macro for registering SPI drivers. This allows us to remove a few lines of boilerplate code. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- drivers/staging/iio/accel/adis16201_core.c | 13 +

[PATCH] SPI: MIPS: lantiq: add FALC-ON spi driver

2011-11-16 Thread John Crispin
The external bus unit (EBU) found on the FALC-ON SoC has spi emulation that is designed for serial flash access. This driver has only been tested with m25p80 type chips. The hardware has no support for other types of spi peripherals. Signed-off-by: Thomas Langer thomas.lan...@lantiq.com

Re: [PATCH 0/5] Generalize module_platform_driver

2011-11-16 Thread Greg KH
On Wed, Nov 16, 2011 at 10:13:34AM +0100, Lars-Peter Clausen wrote: Grant Likely recently introduced the module_platform_driver macro which can be used to eliminate a few lines on boilerplate code in platform driver modules. The same approach can be used to do the same for other bus type

Re: [PATCH 0/5] Generalize module_platform_driver

2011-11-16 Thread Greg KH
On Wed, Nov 16, 2011 at 05:36:18PM +0100, Jean Delvare wrote: On Wed, 16 Nov 2011 08:02:06 -0800, Greg KH wrote: On Wed, Nov 16, 2011 at 10:13:34AM +0100, Lars-Peter Clausen wrote: Grant Likely recently introduced the module_platform_driver macro which can be used to eliminate a few

Re: [PATCH 0/5] Generalize module_platform_driver

2011-11-16 Thread Grant Likely
On Wed, Nov 16, 2011 at 9:37 AM, Greg KH gre...@suse.de wrote: On Wed, Nov 16, 2011 at 05:36:18PM +0100, Jean Delvare wrote: On Wed, 16 Nov 2011 08:02:06 -0800, Greg KH wrote: On Wed, Nov 16, 2011 at 10:13:34AM +0100, Lars-Peter Clausen wrote: Grant Likely recently introduced the

Re: [PATCH 1/5] drivercore: Generalize module_platform_driver

2011-11-16 Thread Grant Likely
On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen l...@metafoo.de wrote: This patch generalizes the module_platform_driver macro and introduces a new module_driver macro. The module_driver macro takes a driver name, a register and a unregister function for this driver type. Using these it

Re: [PATCH 3/5] SPI: Add helper macro for spi_driver boilerplate

2011-11-16 Thread Grant Likely
On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen l...@metafoo.de wrote: This patch introduces the module_spi_driver macro which is a convenience macro for SPI driver modules similar to module_platform_driver. It is intended to be used by drivers which init/exit section does nothing but

[PATCH] SPI: spi-ath79: fix compile error due to missing include

2011-11-16 Thread Gabor Juhos
Whithout including 'linux/module.h' spi-ath79 driver fails to compile with the these errors: drivers/spi/spi-ath79.c:273:12: error: 'THIS_MODULE' undeclared here (not in a function) drivers/spi/spi-ath79.c:278:20: error: expected declaration specifiers or '...' before string constant

Re: [PATCH 5/5] staging:iio: Use module_spi_driver to register SPI driver

2011-11-16 Thread Grant Likely
On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen l...@metafoo.de wrote: Use the newly introduced module_spi_driver macro for registering SPI drivers. This allows us to remove a few lines of boilerplate code. Signed-off-by: Lars-Peter Clausen l...@metafoo.de Acked-by: Grant Likely

Re: [PATCH 2/5] I2C: Add helper macro for i2c_driver boilerplate

2011-11-16 Thread Grant Likely
On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen l...@metafoo.de wrote: This patch introduces the module_i2c_driver macro which is a convenience macro for I2C driver modules similar to module_platform_driver. It is intended to be used by drivers which init/exit section does nothing but

[PATCH] spi-topcliff-pch: Fix count calculation issue

2011-11-16 Thread Tomoya MORINAGA
Currently, count value is not correct more than len=8193 like below. len Current-cnt New-cnt Anticipated-cnt 40951 1 1 40961 1 1 40972 2 2 81912 2 2

Re: [PATCH 2/5] I2C: Add helper macro for i2c_driver boilerplate

2011-11-16 Thread Jonathan Cameron
On 11/16/2011 05:12 PM, Grant Likely wrote: On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen l...@metafoo.de wrote: This patch introduces the module_i2c_driver macro which is a convenience macro for I2C driver modules similar to module_platform_driver. It is intended to be used by

Re: [PATCH 5/5] staging:iio: Use module_spi_driver to register SPI driver

2011-11-16 Thread Jonathan Cameron
On 11/16/2011 05:15 PM, Grant Likely wrote: On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen l...@metafoo.de wrote: Use the newly introduced module_spi_driver macro for registering SPI drivers. This allows us to remove a few lines of boilerplate code. Signed-off-by: Lars-Peter Clausen

Re: [PATCH 4/5] staging:iio: Use module_i2c_driver to register I2C drivers

2011-11-16 Thread Jonathan Cameron
On 11/16/2011 09:13 AM, Lars-Peter Clausen wrote: Use the newly introduced module_i2c_driver macro for registering I2C drivers. This allows us to remove a few lines of boilerplate code. Signed-off-by: Lars-Peter Clausen l...@metafoo.de Acked-by: Jonathan Cameron ji...@kernel.org ---

Re: [PATCH 1/5] drivercore: Generalize module_platform_driver

2011-11-16 Thread Jonathan Cameron
On 11/16/2011 05:11 PM, Grant Likely wrote: On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen l...@metafoo.de wrote: This patch generalizes the module_platform_driver macro and introduces a new module_driver macro. The module_driver macro takes a driver name, a register and a unregister