Messages in this thread | | | Date | Wed, 30 Nov 2005 19:17:11 +0000 | From | Russell King <> | Subject | Re: [PATCH 2.6-git] SPI core refresh |
| |
On Wed, Nov 30, 2005 at 07:50:53PM +0300, Vitaly Wool wrote: > The main changes are: > > - Matching rmk's 2.6.14-git5+ changes for device_driver suspend and > resume calls
Although it isn't obvious in this patch, I request that you don't use use struct device_driver function methods directly in your drivers but add suitable function methods in your spi_driver for probe/remove/ shutdown as required, and arrange for the SPI core to convert from the generic device driver function methods to spi_driver function methods.
I'm planning to eliminate all the device_driver function methods entirely - the probe/remove/shutdown methods will eventually be moved to bus_type.
-- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |