"Flávio Alberto Lopes Soares" <[email protected]> wrote:
[…]
>But, comparing drivers/staging/iio/accel/kxsd9.c
>and drivers/misc/eeprom/at25.c why kxsd9 driver doesn't uses the
>platform_data struct ? There's some functional difference in these 2 drivers
>in the way that they access the SPI subsystem ?

platform_data is a method for passing additional data to a driver that doesn't 
fit in the spi_device structure.  Drivers are not required to use platform_data.

g.

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to