2009/6/4 Baruch Siach <[email protected]>: > +static int __devexit designware_spi_remove(struct platform_device *dev) > +{ > + struct designware_spi *dwspi; > + struct spi_master *master; > + > + master = platform_get_drvdata(dev); > + dwspi = spi_master_get_devdata(master); > + > + free_irq(dwspi->irq, dwspi); > + iounmap(dwspi->regs);
release_mem_region()? > + destroy_workqueue(dwspi->workqueue); > + tasklet_kill(&dwspi->pump_transfers); > + platform_set_drvdata(dev, 0); > + spi_master_put(master); > + > + return 0; > +} Then it's good :-) Linus ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
