On Thu, 22 Nov 2012 06:19:23 -0500 Jun Chen <jun.d.chen@xxxxxxxxx> wrote: > > This patch add modem power off function in the reboot process > according registering reboot callback to the reboot_notifier_list. > Also realizing the spi shutdown function. Need to unregister the reboot notifier in the ifx_spi_exit path. If the driver module is unloaded you leave the callback present and the kernel will call into freed memory. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html