From: Russell K. <rmk...@ar...> - 2005-12-12 15:50:00
|
Only two comments this time. On Mon, Dec 12, 2005 at 06:22:49PM +0300, Vitaly Wool wrote: > +static int spi_bus_suspend(struct device * dev, pm_message_t message) > +{ > + int ret = 0; > + > + if (dev && dev->driver && TO_SPI_DRIVER(dev->driver)->suspend ) { dev will always be non-NULL here. > +static int spi_bus_resume(struct device * dev) > +{ > + int ret = 0; > + > + if (dev && dev->driver && TO_SPI_DRIVER(dev->driver)->suspend ) { Ditto. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core |