Hi
In case of SSD flash drivers, init function only clears flags in flash MCR register and then it initializes ssdConfig structure based on content of flash MCRE register. So, deinit is not necessary in this case. The lock bits are left untouched, so you should set them back to default state by yourself.
The situation is very similar for Emulated EEPROM drivers - in addition, the init function checks the state of EEE and it handles possible brownout state. But because no initialization of flash is needed for programming and erasing, no deinit is required. Just check the lock bits.
Regards,
Lukas