On 11/16/2011 09:13 AM, Lars-Peter Clausen 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
Acked-by: Jonathan Cameron
> ---
> drivers/staging/iio/accel/adis16
On 11/16/2011 05:11 PM, Grant Likely wrote:
> On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen 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
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
Acked-by: Jonathan Cameron
> ---
> drivers/staging/iio/adc/ad7291.c
On 11/16/2011 05:15 PM, Grant Likely wrote:
> On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen 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
>
> Acked
On 11/16/2011 05:12 PM, Grant Likely wrote:
> On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen 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 wh
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
8192
On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen 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 register/unregiste
On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen 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
Acked-by: Grant Likely
g.
> ---
> drivers/staging/iio/a
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
drivers/spi
On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen 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 register/unregiste
On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen 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 construct the
>
On Wed, Nov 16, 2011 at 9:37 AM, Greg KH 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 module_platform
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 elimin
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 lines on boilerplate code in platform driver
> > modules.
> >
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 driv
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
Signed-off-by: John Crispin
Cc: s
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
---
drivers/staging/iio/accel/adis16201_core.c | 13 +
drivers/staging/iio/accel/adis16203_core.c | 13 +--
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
---
drivers/staging/iio/adc/ad7291.c| 14 +-
drivers/staging/iio/adc/ad799x_core.c |
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 module_platform_drive
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
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 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 driv
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
23 matches
Mail list logo