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
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
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
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
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
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 +-
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 +
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
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
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
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
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
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
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
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
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
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
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
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
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
---
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
21 matches
Mail list logo