drivers: fmc-eeprom: Reset the pointer on error.
On error, set the slot->nvmem to NULL. This keeps the data structure in
line with the real status (the nvmem device was not found).
Reported by: Federico Vaga <federico.vaga@cern.ch>
Signed-off-by:
Vaibhav Gupta <vaibhav.gupta@cern.ch>
Please register or sign in to comment