scottellis/spike — pull request #4 by jamesonwilliams (2011-11-29 09:13:14+00:00)
Title: Add teardown for spi_add_device()

Hey Scott,

Thanks for putting this together; it's been a big help.

I was using this on an x86 board, and had to use device_del() to unregister the SPI device at module_exit. Otherwise, the device shows up in /sys/ after the module is unloaded. Is that not so on OMAP ?

Signed-off-by: Jameson Williams